[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v6 16/16] meson: Move bsd_user_ss to bsd-user/
From: |
Richard Henderson |
Subject: |
[PATCH v6 16/16] meson: Move bsd_user_ss to bsd-user/ |
Date: |
Tue, 23 Nov 2021 18:37:59 +0100 |
We have no need to reference bsd_user_ss outside of bsd-user.
Go ahead and merge it directly into specific_ss.
Reviewed-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
meson.build | 3 ---
bsd-user/meson.build | 4 ++++
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/meson.build b/meson.build
index bf7af382de..e425129011 100644
--- a/meson.build
+++ b/meson.build
@@ -2363,7 +2363,6 @@ genh += hxdep
authz_ss = ss.source_set()
blockdev_ss = ss.source_set()
block_ss = ss.source_set()
-bsd_user_ss = ss.source_set()
chardev_ss = ss.source_set()
common_ss = ss.source_set()
common_user_ss = ss.source_set()
@@ -2618,8 +2617,6 @@ subdir('common-user')
subdir('bsd-user')
subdir('linux-user')
-specific_ss.add_all(when: 'CONFIG_BSD_USER', if_true: bsd_user_ss)
-
common_user_ss = common_user_ss.apply(config_all, strict: false)
common_user = static_library('common-user',
sources: common_user_ss.sources(),
diff --git a/bsd-user/meson.build b/bsd-user/meson.build
index 25c3976ead..9fcb80c3fa 100644
--- a/bsd-user/meson.build
+++ b/bsd-user/meson.build
@@ -2,6 +2,8 @@ if not have_bsd_user
subdir_done()
endif
+bsd_user_ss = ss.source_set()
+
common_user_inc += include_directories('.')
bsd_user_ss.add(files(
@@ -17,3 +19,5 @@ bsd_user_ss.add(files(
# Pull in the OS-specific build glue, if any
subdir(targetos)
+
+specific_ss.add_all(when: 'CONFIG_BSD_USER', if_true: bsd_user_ss)
--
2.25.1
- [PATCH v6 06/16] linux-user: Remove HAVE_SAFE_SYSCALL and hostdep.h, (continued)
- [PATCH v6 06/16] linux-user: Remove HAVE_SAFE_SYSCALL and hostdep.h, Richard Henderson, 2021/11/23
- [PATCH v6 07/16] linux-user: Rename TARGET_ERESTARTSYS to QEMU_ERESTARTSYS, Richard Henderson, 2021/11/23
- [PATCH v6 08/16] bsd-user: Rename TARGET_ERESTARTSYS to QEMU_ERESTARTSYS, Richard Henderson, 2021/11/23
- [PATCH v6 09/16] linux-user: Rename TARGET_QEMU_ESIGRETURN to QEMU_ESIGRETURN, Richard Henderson, 2021/11/23
- [PATCH v6 10/16] linux-user: Create special-errno.h, Richard Henderson, 2021/11/23
- [PATCH v6 11/16] bsd-user: Create special-errno.h, Richard Henderson, 2021/11/23
- [PATCH v6 12/16] common-user: Move safe-syscall.* from linux-user, Richard Henderson, 2021/11/23
- [PATCH v6 14/16] linux-user: Move thunk.c from top-level, Richard Henderson, 2021/11/23
- [PATCH v6 13/16] common-user: Adjust system call return on FreeBSD, Richard Henderson, 2021/11/23
- [PATCH v6 15/16] meson: Move linux_user_ss to linux-user/, Richard Henderson, 2021/11/23
- [PATCH v6 16/16] meson: Move bsd_user_ss to bsd-user/,
Richard Henderson <=