linux_dsm_epyc7002/tools/testing/selftests/kcmp/Makefile
bamvor.zhangjian@huawei.com 80d443e887 selftests: add EXTRA_CLEAN for clean target
Some testcases need the clean extra data after running. This patch
introduce the "EXTRA_CLEAN" variable to address this requirement.

After KBUILD_OUTPUT is enabled in later patch, it will be easy to
decide to if we need do the cleanup in the KBUILD_OUTPUT path(if the
testcase ran immediately after compiled).

Signed-off-by: Bamvor Jian Zhang <bamvor.zhangjian@linaro.org>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
2017-01-05 13:42:17 -07:00

9 lines
117 B
Makefile

CFLAGS += -I../../../../usr/include/
TEST_GEN_PROGS := kcmp_test
EXTRA_CLEAN := kcmp-test-file
include ../lib.mk