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>
This commit is contained in:
bamvor.zhangjian@huawei.com
2016-11-29 19:55:52 +08:00
committed by Shuah Khan
parent 80d443e887
commit a8ba798bc8
18 changed files with 122 additions and 75 deletions

View File

@@ -21,6 +21,6 @@ include ../../../lib.mk
$(TEST_GEN_PROGS): ../../harness.c ../../utils.c ../event.c ../lib.c \
ebb.c ebb_handler.S trace.c busy_loop.S
instruction_count_test: ../loop.S
$(OUTPUT)/instruction_count_test: ../loop.S
lost_exception_test: ../lib.c
$(OUTPUT)/lost_exception_test: ../lib.c