mirror of
https://github.com/qemu/qemu.git
synced 2024-12-01 07:43:35 +08:00
a9f495b93f
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
18 lines
580 B
Makefile
18 lines
580 B
Makefile
include $(BUILD_DIR)/tests/tcg/arm-linux-user/config-target.mak
|
|
|
|
SUBDIR = $(SRC_PATH)/linux-user/arm
|
|
VPATH += $(SUBDIR)
|
|
|
|
all: $(SUBDIR)/vdso-be.so $(SUBDIR)/vdso-le.so
|
|
|
|
# Adding -use-blx disables unneeded interworking without actually using blx.
|
|
LDFLAGS = -nostdlib -shared -Wl,-use-blx \
|
|
-Wl,-h,linux-vdso.so.1 -Wl,--build-id=sha1 \
|
|
-Wl,--hash-style=both -Wl,-T,$(SUBDIR)/vdso.ld
|
|
|
|
$(SUBDIR)/vdso-be.so: vdso.S vdso.ld vdso-asmoffset.h
|
|
$(CC) -o $@ $(LDFLAGS) -mbig-endian $<
|
|
|
|
$(SUBDIR)/vdso-le.so: vdso.S vdso.ld vdso-asmoffset.h
|
|
$(CC) -o $@ $(LDFLAGS) -mlittle-endian $<
|