]> www.infradead.org Git - qemu-nvme.git/commitdiff
linux-user: Move thunk.c from top-level
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 17 Nov 2021 15:26:14 +0000 (16:26 +0100)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 20 Dec 2021 18:12:29 +0000 (10:12 -0800)
So far, linux-user is the only user of these functions.
Clean up the build machinery by restricting it to linux-user.

Reviewed-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
MAINTAINERS
linux-user/meson.build
linux-user/thunk.c [moved from thunk.c with 100% similarity]
meson.build

index be8fc575388c2858845cbbba6c6d88aec4e1fa36..1de6ce6e44ebbf93aa45dd58a4d17bcd18b0c2fe 100644 (file)
@@ -3077,7 +3077,6 @@ Usermode Emulation
 Overall usermode emulation
 M: Riku Voipio <riku.voipio@iki.fi>
 S: Maintained
-F: thunk.c
 F: accel/tcg/user-exec*.c
 F: include/user/
 F: common-user/
index eef1dd68bd3652b2f344d7540fbc69c7d068f946..ca8b86f209a0676e6e49a99b0af48da88eb8ce7b 100644 (file)
@@ -15,6 +15,7 @@ linux_user_ss.add(files(
   'signal.c',
   'strace.c',
   'syscall.c',
+  'thunk.c',
   'uaccess.c',
   'uname.c',
 ))
similarity index 100%
rename from thunk.c
rename to linux-user/thunk.c
index 4e0a8033f703516af3fec28fc463cd968f8a5793..eebeaab9ceb92d0b3cb85b1ee6c0c9082dff0ad3 100644 (file)
@@ -2633,7 +2633,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)