提交 6af5a252 编写于 作者: B Blue Swirl

linux-user: compile envlist.c only once

Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
上级 5ba65319
...@@ -162,7 +162,7 @@ libqemu_common.a: $(obj-y) ...@@ -162,7 +162,7 @@ libqemu_common.a: $(obj-y)
####################################################################### #######################################################################
# user-obj-y is code used by qemu userspace emulation # user-obj-y is code used by qemu userspace emulation
user-obj-y = cutils.o cache-utils.o path.o user-obj-y = cutils.o cache-utils.o path.o envlist.o
libqemu_user.a: $(user-obj-y) libqemu_user.a: $(user-obj-y)
......
...@@ -87,7 +87,7 @@ VPATH+=:$(SRC_PATH)/linux-user:$(SRC_PATH)/linux-user/$(TARGET_ABI_DIR) ...@@ -87,7 +87,7 @@ VPATH+=:$(SRC_PATH)/linux-user:$(SRC_PATH)/linux-user/$(TARGET_ABI_DIR)
QEMU_CFLAGS+=-I$(SRC_PATH)/linux-user -I$(SRC_PATH)/linux-user/$(TARGET_ABI_DIR) QEMU_CFLAGS+=-I$(SRC_PATH)/linux-user -I$(SRC_PATH)/linux-user/$(TARGET_ABI_DIR)
obj-y = main.o syscall.o strace.o mmap.o signal.o thunk.o \ obj-y = main.o syscall.o strace.o mmap.o signal.o thunk.o \
elfload.o linuxload.o uaccess.o envlist.o gdbstub.o gdbstub-xml.o elfload.o linuxload.o uaccess.o gdbstub.o gdbstub-xml.o
obj-$(TARGET_HAS_BFLT) += flatload.o obj-$(TARGET_HAS_BFLT) += flatload.o
obj-$(TARGET_HAS_ELFLOAD32) += elfload32.o obj-$(TARGET_HAS_ELFLOAD32) += elfload32.o
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册