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:

committed by
Shuah Khan

parent
80d443e887
commit
a8ba798bc8
@@ -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
|
||||
|
Reference in New Issue
Block a user