mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 07:22:34 +00:00
This avoids repeating the logic in every Makefile. We mimic the top-level Makefile and use $(CROSS_COMPILE)gcc. Signed-off-by: Michael Ellerman <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
11 lines
137 B
Makefile
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
|