a8ba798bc8
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>
16 lines
258 B
Makefile
16 lines
258 B
Makefile
noarg:
|
|
$(MAKE) -C ../
|
|
|
|
TEST_GEN_PROGS := hugetlb_vs_thp_test subpage_prot prot_sao
|
|
TEST_GEN_FILES := tempfile
|
|
|
|
include ../../lib.mk
|
|
|
|
$(TEST_GEN_PROGS): ../harness.c
|
|
|
|
$(OUTPUT)/prot_sao: ../utils.c
|
|
|
|
$(OUTPUT)/tempfile:
|
|
dd if=/dev/zero of=$@ bs=64k count=1
|
|
|