aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarner Losh <imp@bsdimp.com>2022-01-08 17:27:34 -0700
committerWarner Losh <imp@bsdimp.com>2022-01-28 15:53:38 -0700
commit85fc1b5dbf893254471809eef8ec773bb29d4f48 (patch)
treece3042f3be38a99baa502829a11bc731af8b0c2e
parentb375158801e804cfbf2ff45edab1bd7590fdad30 (diff)
downloadqemu-85fc1b5dbf893254471809eef8ec773bb29d4f48.zip
qemu-85fc1b5dbf893254471809eef8ec773bb29d4f48.tar.gz
qemu-85fc1b5dbf893254471809eef8ec773bb29d4f48.tar.bz2
bsd-user: Add host signals to the build
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>
-rw-r--r--bsd-user/signal.c1
-rw-r--r--meson.build1
2 files changed, 2 insertions, 0 deletions
diff --git a/bsd-user/signal.c b/bsd-user/signal.c
index ad8437a..f3e020e 100644
--- a/bsd-user/signal.c
+++ b/bsd-user/signal.c
@@ -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
diff --git a/meson.build b/meson.build
index 5dbc9a7..155403d 100644
--- a/meson.build
+++ b/meson.build
@@ -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