kcmp selftests: make run_tests fix
make run_tests need the target is run_tests instead of run-tests Also gcc output should be kcmp_test. Fix these two issues. Signed-off-by: Dave Young <dyoung@redhat.com> Cc: Pekka Enberg <penberg@kernel.org> Cc: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
aabccae6e9
commit
63d233673a
|
@ -16,12 +16,12 @@ CFLAGS += -I../../../../arch/x86/include/
|
||||||
|
|
||||||
all:
|
all:
|
||||||
ifeq ($(ARCH),X86)
|
ifeq ($(ARCH),X86)
|
||||||
gcc $(CFLAGS) kcmp_test.c -o run_test
|
gcc $(CFLAGS) kcmp_test.c -o kcmp_test
|
||||||
else
|
else
|
||||||
echo "Not an x86 target, can't build kcmp selftest"
|
echo "Not an x86 target, can't build kcmp selftest"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
run-tests: all
|
run_tests: all
|
||||||
./kcmp_test
|
./kcmp_test
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
|
Loading…
Reference in New Issue