| 1 | include $(BUILD_DIR)/tests/tcg/x86_64-linux-user/config-target.mak |
| 2 | |
| 3 | SUBDIR = $(SRC_PATH)/linux-user/x86_64 |
| 4 | VPATH += $(SUBDIR) |
| 5 | |
| 6 | all: $(SUBDIR)/vdso.so |
| 7 | |
| 8 | $(SUBDIR)/vdso.so: vdso.S vdso.ld |
| 9 | $(CC) -o $@ -nostdlib -shared -Wl,-h,linux-vdso.so.1 \ |
| 10 | -Wl,--build-id=sha1 -Wl,--hash-style=both \ |
| 11 | -Wl,-T,$(SUBDIR)/vdso.ld $< |