aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/ftrace
diff options
context:
space:
mode:
authorbamvor.zhangjian@huawei.com <bamvor.zhangjian@huawei.com>2016-11-29 19:55:52 +0800
committerShuah Khan <shuahkh@osg.samsung.com>2017-01-05 13:42:22 -0700
commita8ba798bc8ec663cf02e80b0dd770324de9bafd9 (patch)
treee654822d4a82b46dc087febceb4d79999fd51488 /tools/testing/selftests/ftrace
parentselftests: add EXTRA_CLEAN for clean target (diff)
downloadlinux-dev-a8ba798bc8ec663cf02e80b0dd770324de9bafd9.tar.xz
linux-dev-a8ba798bc8ec663cf02e80b0dd770324de9bafd9.zip
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/ftrace')
-rw-r--r--tools/testing/selftests/ftrace/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/ftrace/Makefile b/tools/testing/selftests/ftrace/Makefile
index 6c64b421a4fd..a8a5e21850e7 100644
--- a/tools/testing/selftests/ftrace/Makefile
+++ b/tools/testing/selftests/ftrace/Makefile
@@ -2,6 +2,6 @@ all:
TEST_PROGS := ftracetest
TEST_FILES := test.d
-EXTRA_CLEAN := logs/*
+EXTRA_CLEAN := $(OUTPUT)/logs/*
include ../lib.mk