mirror of
https://github.com/torvalds/linux.git
synced 2024-12-25 12:21:37 +00:00
4c12df63f7
Don't prevent the test building on non-x86. Just try and build it and let the chips fall where they may. Add support for CROSS_COMPILE while we're at it. Also we don't need a custom rule for building kcmp_test. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Reviewed-by: Christopher Covington <cov@codeaurora.org> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
11 lines
179 B
Makefile
11 lines
179 B
Makefile
CC := $(CROSS_COMPILE)$(CC)
|
|
CFLAGS += -I../../../../usr/include/
|
|
|
|
all: kcmp_test
|
|
|
|
run_tests: all
|
|
@./kcmp_test || echo "kcmp_test: [FAIL]"
|
|
|
|
clean:
|
|
$(RM) kcmp_test kcmp-test-file
|