1include $(BUILD_DIR)/tests/tcg/arm-linux-user/config-target.mak 2 3SUBDIR = $(SRC_PATH)/linux-user/arm 4VPATH += $(SUBDIR) 5 6all: $(SUBDIR)/vdso-be.so $(SUBDIR)/vdso-le.so 7 8# Adding -use-blx disables unneeded interworking without actually using blx. 9LDFLAGS = -nostdlib -shared -Wl,-use-blx \ 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-be.so: vdso.S vdso.ld vdso-asmoffset.h 14 $(CC) -o $@ $(LDFLAGS) -mbig-endian $< 15 16$(SUBDIR)/vdso-le.so: vdso.S vdso.ld vdso-asmoffset.h 17 $(CC) -o $@ $(LDFLAGS) -mlittle-endian $< 18