Commit 40723419 authored by Vincenzo Frascino's avatar Vincenzo Frascino Committed by Shuah Khan

kselftest: Enable vDSO test on non x86 platforms

Currently the vDSO tests are built only on x86 platforms and cannot be
cross compiled.

Enable vDSO TARGET for all the platforms.

Future patches will extend the tests.

Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: default avatarVincenzo Frascino <vincenzo.frascino@arm.com>
Acked-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
parent 3650b228
...@@ -65,6 +65,7 @@ endif ...@@ -65,6 +65,7 @@ endif
TARGETS += tmpfs TARGETS += tmpfs
TARGETS += tpm2 TARGETS += tpm2
TARGETS += user TARGETS += user
TARGETS += vDSO
TARGETS += vm TARGETS += vm
TARGETS += x86 TARGETS += x86
TARGETS += zram TARGETS += zram
......
...@@ -9,7 +9,6 @@ ifeq ($(ARCH),x86) ...@@ -9,7 +9,6 @@ ifeq ($(ARCH),x86)
TEST_GEN_PROGS += $(OUTPUT)/vdso_standalone_test_x86 TEST_GEN_PROGS += $(OUTPUT)/vdso_standalone_test_x86
endif endif
ifndef CROSS_COMPILE
CFLAGS := -std=gnu99 CFLAGS := -std=gnu99
CFLAGS_vdso_standalone_test_x86 := -nostdlib -fno-asynchronous-unwind-tables -fno-stack-protector CFLAGS_vdso_standalone_test_x86 := -nostdlib -fno-asynchronous-unwind-tables -fno-stack-protector
ifeq ($(CONFIG_X86_32),y) ifeq ($(CONFIG_X86_32),y)
...@@ -24,4 +23,3 @@ $(OUTPUT)/vdso_standalone_test_x86: vdso_standalone_test_x86.c parse_vdso.c ...@@ -24,4 +23,3 @@ $(OUTPUT)/vdso_standalone_test_x86: vdso_standalone_test_x86.c parse_vdso.c
vdso_standalone_test_x86.c parse_vdso.c \ vdso_standalone_test_x86.c parse_vdso.c \
-o $@ -o $@
endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment