diff options
author | bamvor.zhangjian@huawei.com <bamvor.zhangjian@huawei.com> | 2016-11-29 19:55:52 +0800 |
---|---|---|
committer | Shuah Khan <shuahkh@osg.samsung.com> | 2017-01-05 13:42:22 -0700 |
commit | a8ba798bc8ec663cf02e80b0dd770324de9bafd9 (patch) | |
tree | e654822d4a82b46dc087febceb4d79999fd51488 /tools/testing/selftests/powerpc/benchmarks | |
parent | 80d443e8876602be2c130f79c4de81e12e2a700d (diff) | |
download | blackbird-obmc-linux-a8ba798bc8ec663cf02e80b0dd770324de9bafd9.tar.gz blackbird-obmc-linux-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/powerpc/benchmarks')
-rw-r--r-- | tools/testing/selftests/powerpc/benchmarks/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/testing/selftests/powerpc/benchmarks/Makefile b/tools/testing/selftests/powerpc/benchmarks/Makefile index 08a55bd17800..286c6ed2378c 100644 --- a/tools/testing/selftests/powerpc/benchmarks/Makefile +++ b/tools/testing/selftests/powerpc/benchmarks/Makefile @@ -6,6 +6,6 @@ $(TEST_GEN_PROGS): ../harness.c include ../../lib.mk -context_switch: ../utils.c -context_switch: CFLAGS += -maltivec -mvsx -mabi=altivec -context_switch: LDLIBS += -lpthread +$(OUTPUT)/context_switch: ../utils.c +$(OUTPUT)/context_switch: CFLAGS += -maltivec -mvsx -mabi=altivec +$(OUTPUT)/context_switch: LDLIBS += -lpthread |