Home | History | Annotate | Download | only in vDSO
      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
      7 
      8 TEST_PROGS := vdso_test vdso_standalone_test_x86
      9 
     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
     16 
     17 include ../lib.mk
     18 clean:
     19 	rm -fr $(TEST_PROGS)
     20 endif
     21