]> git.proxmox.com Git - mirror_qemu.git/blob - linux-user/arm/Makefile.vdso
Merge tag 'net-pull-request' of https://github.com/jasowang/qemu into staging
[mirror_qemu.git] / linux-user / arm / Makefile.vdso
1 include $(BUILD_DIR)/tests/tcg/arm-linux-user/config-target.mak
2
3 SUBDIR = $(SRC_PATH)/linux-user/arm
4 VPATH += $(SUBDIR)
5
6 all: $(SUBDIR)/vdso-be.so $(SUBDIR)/vdso-le.so
7
8 # Adding -use-blx disables unneeded interworking without actually using blx.
9 LDFLAGS = -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 $<