mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
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>
18 lines
461 B
Makefile
18 lines
461 B
Makefile
TEST_GEN_PROGS := fpu_syscall fpu_preempt fpu_signal vmx_syscall vmx_preempt vmx_signal vsx_preempt
|
|
|
|
include ../../lib.mk
|
|
|
|
$(TEST_GEN_PROGS): ../harness.c
|
|
$(TEST_GEN_PROGS): CFLAGS += -O2 -g -pthread -m64 -maltivec
|
|
|
|
$(OUTPUT)/pu_syscall: fpu_asm.S
|
|
$(OUTPUT)/pu_preempt: fpu_asm.S
|
|
$(OUTPUT)/pu_signal: fpu_asm.S
|
|
|
|
$(OUTPUT)/mx_syscall: vmx_asm.S
|
|
$(OUTPUT)/mx_preempt: vmx_asm.S
|
|
$(OUTPUT)/mx_signal: vmx_asm.S
|
|
|
|
vsx_preempt: CFLAGS += -mvsx
|
|
vsx_preempt: vsx_asm.S
|