xref: /openbmc/qemu/linux-user/i386/Makefile.vdso (revision a1367443)
1*a1367443SRichard Hendersoninclude $(BUILD_DIR)/tests/tcg/i386-linux-user/config-target.mak
2*a1367443SRichard Henderson
3*a1367443SRichard HendersonSUBDIR = $(SRC_PATH)/linux-user/i386
4*a1367443SRichard HendersonVPATH += $(SUBDIR)
5*a1367443SRichard Henderson
6*a1367443SRichard Hendersonall: $(SUBDIR)/vdso.so
7*a1367443SRichard Henderson
8*a1367443SRichard Henderson$(SUBDIR)/vdso.so: vdso.S vdso.ld vdso-asmoffset.h
9*a1367443SRichard Henderson	$(CC) -o $@ -m32 -nostdlib -shared -Wl,-h,linux-gate.so.1 \
10*a1367443SRichard Henderson	  -Wl,--build-id=sha1 -Wl,--hash-style=both \
11*a1367443SRichard Henderson	  -Wl,-T,$(SUBDIR)/vdso.ld $<
12