aboutsummaryrefslogtreecommitdiff
path: root/bsd-user
diff options
context:
space:
mode:
authorWarner Losh <imp@bsdimp.com>2021-10-08 16:47:37 -0600
committerWarner Losh <imp@bsdimp.com>2021-10-18 12:51:39 -0600
commitdda2da6c94484b85d28fe7c29f7fee562deaf177 (patch)
treecd7ddd9d255d016725cdf7e640f051fd29d43987 /bsd-user
parent91a5adda1583fa8a3166bc16d79c67f3c87e958b (diff)
downloadqemu-dda2da6c94484b85d28fe7c29f7fee562deaf177.zip
qemu-dda2da6c94484b85d28fe7c29f7fee562deaf177.tar.gz
qemu-dda2da6c94484b85d28fe7c29f7fee562deaf177.tar.bz2
meson: *-user: only descend into *-user when configured
To increase flexibility, only descend into *-user when that is configured. This allows *-user to selectively include directories based on the host OS which may not exist on all hosts. Adopt Paolo's suggestion of checking the configuration in the directories that know about the configuration. Message-Id: <20210926220103.1721355-2-f4bug@amsat.org> Message-Id: <20210926220103.1721355-3-f4bug@amsat.org> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Warner Losh <wlosh@bsdimp.com> Acked-by: Paolo Bonzini <pbonzinni@redhat.com> Reviewed-by: Kyle Evans <kevans@FreeBSD.org>
Diffstat (limited to 'bsd-user')
-rw-r--r--bsd-user/meson.build4
1 files changed, 4 insertions, 0 deletions
diff --git a/bsd-user/meson.build b/bsd-user/meson.build
index 0369549..5378f56 100644
--- a/bsd-user/meson.build
+++ b/bsd-user/meson.build
@@ -1,3 +1,7 @@
+if not have_bsd_user
+ subdir_done()
+endif
+
bsd_user_ss.add(files(
'bsdload.c',
'elfload.c',