mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 21:02:19 +00:00
84f887bfb9
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>
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
|