[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v5 15/17] linux-user: Move thunk.c from top-level
From: |
Richard Henderson |
Subject: |
[PATCH v5 15/17] linux-user: Move thunk.c from top-level |
Date: |
Wed, 17 Nov 2021 17:04:10 +0100 |
So far, linux-user is the only user of these functions.
Clean up the build machinery by restricting it to linux-user.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
meson.build | 1 -
thunk.c => linux-user/thunk.c | 0
linux-user/meson.build | 1 +
3 files changed, 1 insertion(+), 1 deletion(-)
rename thunk.c => linux-user/thunk.c (100%)
diff --git a/meson.build b/meson.build
index 387f7fe1c9..9f59c57909 100644
--- a/meson.build
+++ b/meson.build
@@ -2614,7 +2614,6 @@ subdir('linux-user')
specific_ss.add_all(when: 'CONFIG_BSD_USER', if_true: bsd_user_ss)
-linux_user_ss.add(files('thunk.c'))
specific_ss.add_all(when: 'CONFIG_LINUX_USER', if_true: linux_user_ss)
common_user_ss = common_user_ss.apply(config_all, strict: false)
diff --git a/thunk.c b/linux-user/thunk.c
similarity index 100%
rename from thunk.c
rename to linux-user/thunk.c
diff --git a/linux-user/meson.build b/linux-user/meson.build
index bf9d945504..fcf7d40f23 100644
--- a/linux-user/meson.build
+++ b/linux-user/meson.build
@@ -15,6 +15,7 @@ linux_user_ss.add(files(
'signal.c',
'strace.c',
'syscall.c',
+ 'thunk.c',
'uaccess.c',
'uname.c',
))
--
2.25.1
- [PATCH v5 11/17] bsd-user: Create special-errno.h, (continued)
- [PATCH v5 11/17] bsd-user: Create special-errno.h, Richard Henderson, 2021/11/17
- [PATCH v5 12/17] linux-user: Create special-errno.h, Richard Henderson, 2021/11/17
- [PATCH v5 14/17] common-user: Move safe-syscall.* from linux-user, Richard Henderson, 2021/11/17
- [PATCH v5 10/17] linux-user: Rename TARGET_QEMU_ESIGRETURN to QEMU_ESIGRETURN, Richard Henderson, 2021/11/17
- [PATCH v5 13/17] meson: Add build infrastructure for common-user, Richard Henderson, 2021/11/17
- [PATCH v5 15/17] linux-user: Move thunk.c from top-level,
Richard Henderson <=
- [PATCH v5 16/17] meson: Move linux_user_ss to linux-user/, Richard Henderson, 2021/11/17
- Re: [PATCH v5 16/17] meson: Move linux_user_ss to linux-user/, Warner Losh, 2021/11/17
- [PATCH v5 17/17] meson: Move bsd_user_ss to bsd-user/, Richard Henderson, 2021/11/17