From dda2da6c94484b85d28fe7c29f7fee562deaf177 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Fri, 8 Oct 2021 16:47:37 -0600 Subject: meson: *-user: only descend into *-user when configured MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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é Signed-off-by: Warner Losh Acked-by: Paolo Bonzini Reviewed-by: Kyle Evans --- bsd-user/meson.build | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bsd-user') 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', -- cgit v1.1