[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 131/150] meson: bsd-user
From: |
Paolo Bonzini |
Subject: |
[PULL 131/150] meson: bsd-user |
Date: |
Tue, 18 Aug 2020 10:10:06 -0400 |
From: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
Makefile.target | 3 ---
bsd-user/Makefile.objs | 2 --
bsd-user/meson.build | 10 ++++++++++
meson.build | 4 ++++
4 files changed, 14 insertions(+), 5 deletions(-)
delete mode 100644 bsd-user/Makefile.objs
create mode 100644 bsd-user/meson.build
diff --git a/Makefile.target b/Makefile.target
index a68859d7c2..5c099fa79f 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -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
#########################################################
diff --git a/bsd-user/Makefile.objs b/bsd-user/Makefile.objs
deleted file mode 100644
index 5e77f57782..0000000000
--- a/bsd-user/Makefile.objs
+++ /dev/null
@@ -1,2 +0,0 @@
-obj-y = main.o bsdload.o elfload.o mmap.o signal.o strace.o syscall.o \
- uaccess.o
diff --git a/bsd-user/meson.build b/bsd-user/meson.build
new file mode 100644
index 0000000000..0369549340
--- /dev/null
+++ b/bsd-user/meson.build
@@ -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',
+))
diff --git a/meson.build b/meson.build
index 45116adbb0..b55d9aa186 100644
--- a/meson.build
+++ b/meson.build
@@ -702,8 +702,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)
--
2.26.2
- [PULL 117/150] meson: convert hw/gpio, (continued)
- [PULL 117/150] meson: convert hw/gpio, Paolo Bonzini, 2020/08/18
- [PULL 114/150] meson: convert hw/ide, Paolo Bonzini, 2020/08/18
- [PULL 094/150] meson: convert hw/usb, Paolo Bonzini, 2020/08/18
- [PULL 124/150] meson: convert hw/adc, Paolo Bonzini, 2020/08/18
- [PULL 123/150] meson: convert hw/audio, Paolo Bonzini, 2020/08/18
- [PULL 121/150] meson: convert hw/char, Paolo Bonzini, 2020/08/18
- [PULL 129/150] meson: accel, Paolo Bonzini, 2020/08/18
- [PULL 122/150] meson: convert hw/block, Paolo Bonzini, 2020/08/18
- [PULL 120/150] meson: convert hw/cpu, Paolo Bonzini, 2020/08/18
- [PULL 126/150] meson: convert hw/9pfs, cleanup, Paolo Bonzini, 2020/08/18
- [PULL 131/150] meson: bsd-user,
Paolo Bonzini <=
- [PULL 125/150] meson: convert hw/acpi, Paolo Bonzini, 2020/08/18
- [PULL 127/150] meson: convert hw/arch*, Paolo Bonzini, 2020/08/18
- [PULL 133/150] meson: plugins, Paolo Bonzini, 2020/08/18
- [PULL 141/150] meson: convert check-block, Paolo Bonzini, 2020/08/18
- [PULL 135/150] meson: convert systemtap files, Paolo Bonzini, 2020/08/18
- [PULL 147/150] meson: convert po/, Paolo Bonzini, 2020/08/18
- [PULL 144/150] meson: convert sample plugins, Paolo Bonzini, 2020/08/18