]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
semihosting/uaccess: Compile once
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 27 Jun 2025 11:25:00 +0000 (12:25 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 2 Jul 2025 09:09:48 +0000 (10:09 +0100)
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20250526095213.14113-3-philmd@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-ID: <20250627112512.1880708-5-alex.bennee@linaro.org>

semihosting/meson.build

index f3d38dda91dc2935d44e7e56a84659464c989d80..b1ab2506c6e385efe6bb4a8d9c7f9e76d42f9b58 100644 (file)
@@ -3,15 +3,12 @@ specific_ss.add(when: 'CONFIG_SEMIHOSTING', if_true: files(
   'syscalls.c',
 ))
 
-specific_ss.add(when: ['CONFIG_SEMIHOSTING', 'CONFIG_SYSTEM_ONLY'], if_true: files(
-  'uaccess.c',
-))
-
 common_ss.add(when: 'CONFIG_SEMIHOSTING', if_false: files('stubs-all.c'))
 user_ss.add(when: 'CONFIG_SEMIHOSTING', if_true: files('user.c'))
 system_ss.add(when: 'CONFIG_SEMIHOSTING', if_true: files(
   'config.c',
   'console.c',
+  'uaccess.c',
 ), if_false: files(
   'stubs-system.c',
 ))