[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 128/147] meson: bsd-user
From: |
Paolo Bonzini |
Subject: |
[PATCH 128/147] meson: bsd-user |
Date: |
Mon, 10 Aug 2020 19:08:46 +0200 |
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 a68859d..5c099fa 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 5e77f57..0000000
--- 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 0000000..0369549
--- /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 53f640d..6490301 100644
--- a/meson.build
+++ b/meson.build
@@ -693,8 +693,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)
--
1.8.3.1
- [PATCH 115/147] meson: convert hw/dma, (continued)
- [PATCH 115/147] meson: convert hw/dma, Paolo Bonzini, 2020/08/10
- [PATCH 117/147] meson: convert hw/cpu, Paolo Bonzini, 2020/08/10
- [PATCH 118/147] meson: convert hw/char, Paolo Bonzini, 2020/08/10
- [PATCH 119/147] meson: convert hw/block, Paolo Bonzini, 2020/08/10
- [PATCH 120/147] meson: convert hw/audio, Paolo Bonzini, 2020/08/10
- [PATCH 121/147] meson: convert hw/adc, Paolo Bonzini, 2020/08/10
- [PATCH 116/147] meson: convert hw/display, Paolo Bonzini, 2020/08/10
- [PATCH 124/147] meson: convert hw/arch*, Paolo Bonzini, 2020/08/10
- [PATCH 122/147] meson: convert hw/acpi, Paolo Bonzini, 2020/08/10
- [PATCH 123/147] meson: convert hw/9pfs, cleanup, Paolo Bonzini, 2020/08/10
- [PATCH 128/147] meson: bsd-user,
Paolo Bonzini <=
- [PATCH 125/147] meson: target, Paolo Bonzini, 2020/08/10
- [PATCH 126/147] meson: accel, Paolo Bonzini, 2020/08/10
- [PATCH 127/147] meson: linux-user, Paolo Bonzini, 2020/08/10
- [PATCH 130/147] meson: plugins, Paolo Bonzini, 2020/08/10
- [PATCH 129/147] meson: cpu-emu, Paolo Bonzini, 2020/08/10
- [PATCH 133/147] rules.mak: remove version.o, Paolo Bonzini, 2020/08/10
- [PATCH 132/147] meson: convert systemtap files, Paolo Bonzini, 2020/08/10
- [PATCH 131/147] meson: link emulators without Makefile.target, Paolo Bonzini, 2020/08/10