1include $(BUILD_DIR)/tests/tcg/arm-linux-user/config-target.mak 2 3SUBDIR = $(SRC_PATH)/linux-user/arm 4VPATH += $(SUBDIR) 5 6all: $(SUBDIR)/vdso-be8.so $(SUBDIR)/vdso-be32.so $(SUBDIR)/vdso-le.so 7 8# Adding -use-blx disables unneeded interworking without actually using blx. 9LDFLAGS = -nostdlib -shared -Wl,-use-blx -Wl,-z,max-page-size=4096 \ 10 -Wl,-h,linux-vdso.so.1 -Wl,--build-id=sha1 \ 11 -Wl,--hash-style=both -Wl,-T,$(SUBDIR)/vdso.ld 12 13$(SUBDIR)/vdso-be8.so: vdso.S vdso.ld vdso-asmoffset.h 14 $(CC) -o $@ $(LDFLAGS) -mbig-endian -mbe8 $< 15 16$(SUBDIR)/vdso-be32.so: vdso.S vdso.ld vdso-asmoffset.h 17 $(CC) -o $@ $(LDFLAGS) -mbig-endian -mbe32 $< 18 19$(SUBDIR)/vdso-le.so: vdso.S vdso.ld vdso-asmoffset.h 20 $(CC) -o $@ $(LDFLAGS) -mlittle-endian $< 21