mirror of https://gitee.com/openkylin/qemu.git
meson: bsd-user
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
3a30446aed
commit
b309c32125
|
@ -141,9 +141,6 @@ ifdef CONFIG_BSD_USER
|
|||
QEMU_CFLAGS+=-I$(SRC_PATH)/bsd-user -I$(SRC_PATH)/bsd-user/$(TARGET_ABI_DIR) \
|
||||
-I$(SRC_PATH)/bsd-user/$(HOST_VARIANT_DIR)
|
||||
|
||||
obj-y += bsd-user/
|
||||
obj-y += gdbstub.o
|
||||
|
||||
endif #CONFIG_BSD_USER
|
||||
|
||||
#########################################################
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
obj-y = main.o bsdload.o elfload.o mmap.o signal.o strace.o syscall.o \
|
||||
uaccess.o
|
|
@ -0,0 +1,10 @@
|
|||
bsd_user_ss.add(files(
|
||||
'bsdload.c',
|
||||
'elfload.c',
|
||||
'main.c',
|
||||
'mmap.c',
|
||||
'signal.c',
|
||||
'strace.c',
|
||||
'syscall.c',
|
||||
'uaccess.c',
|
||||
))
|
|
@ -705,8 +705,12 @@ subdir('net')
|
|||
subdir('replay')
|
||||
subdir('hw')
|
||||
subdir('accel')
|
||||
subdir('bsd-user')
|
||||
subdir('linux-user')
|
||||
|
||||
bsd_user_ss.add(files('gdbstub.c'))
|
||||
specific_ss.add_all(when: 'CONFIG_BSD_USER', if_true: bsd_user_ss)
|
||||
|
||||
linux_user_ss.add(files('gdbstub.c', 'thunk.c'))
|
||||
specific_ss.add_all(when: 'CONFIG_LINUX_USER', if_true: linux_user_ss)
|
||||
|
||||
|
|
Loading…
Reference in New Issue