KVM: PPC: Book3S HV: Avoid preemptibility warning in module initialization
[linux/fpc-iii.git] / tools / testing / selftests / vDSO / Makefile
blob706b68b1c3722d51dc9fce5b9067d00be6fec9f6
1 ifndef CROSS_COMPILE
2 CFLAGS := -std=gnu99
3 CFLAGS_vdso_standalone_test_x86 := -nostdlib -fno-asynchronous-unwind-tables -fno-stack-protector
4 ifeq ($(CONFIG_X86_32),y)
5 LDLIBS += -lgcc_s
6 endif
8 TEST_PROGS := vdso_test vdso_standalone_test_x86
10 all: $(TEST_PROGS)
11 vdso_test: parse_vdso.c vdso_test.c
12 vdso_standalone_test_x86: vdso_standalone_test_x86.c parse_vdso.c
13 $(CC) $(CFLAGS) $(CFLAGS_vdso_standalone_test_x86) \
14 vdso_standalone_test_x86.c parse_vdso.c \
15 -o vdso_standalone_test_x86
17 include ../lib.mk
18 clean:
19 rm -fr $(TEST_PROGS)
20 endif