linux_dsm_epyc7002/tools/testing/selftests/kcmp/Makefile
Michael Ellerman 84f887bfb9 selftests: Set CC using CROSS_COMPILE once in lib.mk
This avoids repeating the logic in every Makefile. We mimic the
top-level Makefile and use $(CROSS_COMPILE)gcc.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
2015-03-19 15:16:51 -06:00

11 lines
137 B
Makefile

CFLAGS += -I../../../../usr/include/
all: kcmp_test
TEST_PROGS := kcmp_test
include ../lib.mk
clean:
$(RM) kcmp_test kcmp-test-file