summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/kcmp
diff options
context:
space:
mode:
authorbamvor.zhangjian@huawei.com <bamvor.zhangjian@huawei.com>2016-11-29 14:55:52 +0300
committerShuah Khan <shuahkh@osg.samsung.com>2017-01-05 23:42:22 +0300
commita8ba798bc8ec663cf02e80b0dd770324de9bafd9 (patch)
treee654822d4a82b46dc087febceb4d79999fd51488 /tools/testing/selftests/kcmp
parent80d443e8876602be2c130f79c4de81e12e2a700d (diff)
downloadlinux-a8ba798bc8ec663cf02e80b0dd770324de9bafd9.tar.xz
selftests: enable O and KBUILD_OUTPUT
Enable O and KBUILD_OUTPUT for kselftest. User could compile kselftest to another directory by passing O or KBUILD_OUTPUT. And O is high priority than KBUILD_OUTPUT. Signed-off-by: Bamvor Jian Zhang <bamvor.zhangjian@linaro.org> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'tools/testing/selftests/kcmp')
-rw-r--r--tools/testing/selftests/kcmp/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/kcmp/Makefile b/tools/testing/selftests/kcmp/Makefile
index 74a8adda58fb..47aa9887f9d4 100644
--- a/tools/testing/selftests/kcmp/Makefile
+++ b/tools/testing/selftests/kcmp/Makefile
@@ -2,7 +2,7 @@ CFLAGS += -I../../../../usr/include/
TEST_GEN_PROGS := kcmp_test
-EXTRA_CLEAN := kcmp-test-file
+EXTRA_CLEAN := $(OUTPUT)/kcmp-test-file
include ../lib.mk