]> git.proxmox.com Git - mirror_qemu.git/commitdiff
bsd-user: Add host signals to the build
authorWarner Losh <imp@bsdimp.com>
Sun, 9 Jan 2022 00:27:34 +0000 (17:27 -0700)
committerWarner Losh <imp@bsdimp.com>
Fri, 28 Jan 2022 22:53:38 +0000 (15:53 -0700)
Start to add the host signal functionality to the build.

Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
bsd-user/signal.c
meson.build

index ad8437a8bfb3a5bf248d5f71086eccfbe20d758d..f3e020e004a018368c7b11aa5d01bcc873ebdd41 100644 (file)
@@ -22,6 +22,7 @@
 #include "qemu.h"
 #include "signal-common.h"
 #include "hw/core/tcg-cpu-ops.h"
+#include "host-signal.h"
 
 /*
  * Stubbed out routines until we merge signal support from bsd-user
index 5dbc9a7a3651bae0dcfa12f3fa1e7bad031a6780..155403d44f40290f3a8d76ea09e56dc28f69861e 100644 (file)
@@ -2947,6 +2947,7 @@ foreach target : target_dirs
     if 'CONFIG_BSD_USER' in config_target
       base_dir = 'bsd-user'
       target_inc += include_directories('bsd-user/' / targetos)
+      target_inc += include_directories('bsd-user/host/' / host_arch)
       dir = base_dir / abi
       arch_srcs += files(dir / 'signal.c', dir / 'target_arch_cpu.c')
     endif