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