mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-14 14:01:57 +01:00
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 <[email protected]> Reviewed-by: Christopher Covington <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
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
|