1include $(BUILD_DIR)/tests/tcg/aarch64-linux-user/config-target.mak 2 3SUBDIR = $(SRC_PATH)/linux-user/aarch64 4VPATH += $(SUBDIR) 5 6all: $(SUBDIR)/vdso-be.so $(SUBDIR)/vdso-le.so 7 8LDFLAGS = -nostdlib -shared -Wl,-h,linux-vdso.so.1 -Wl,--build-id=sha1 \ 9 -Wl,--hash-style=both -Wl,-T,$(SUBDIR)/vdso.ld 10 11$(SUBDIR)/vdso-be.so: vdso.S vdso.ld 12 $(CC) -o $@ $(LDFLAGS) -mbig-endian $< 13 14$(SUBDIR)/vdso-le.so: vdso.S vdso.ld 15 $(CC) -o $@ $(LDFLAGS) -mlittle-endian $< 16