[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 14/30] bsd-user: Add host signals to the build
From: |
Warner Losh |
Subject: |
[PATCH 14/30] bsd-user: Add host signals to the build |
Date: |
Sun, 9 Jan 2022 09:19:07 -0700 |
Start to add the host signal functionality to the build.
Signed-off-by: Warner Losh <imp@bsdimp.com>
---
bsd-user/meson.build | 1 +
bsd-user/signal.c | 1 +
meson.build | 1 +
3 files changed, 3 insertions(+)
diff --git a/bsd-user/meson.build b/bsd-user/meson.build
index 9fcb80c3fa8..a768e65d35e 100644
--- a/bsd-user/meson.build
+++ b/bsd-user/meson.build
@@ -4,6 +4,7 @@ endif
bsd_user_ss = ss.source_set()
+common_user_inc += include_directories('host/' / host_arch)
common_user_inc += include_directories('.')
bsd_user_ss.add(files(
diff --git a/bsd-user/signal.c b/bsd-user/signal.c
index b2c91c39379..bf5c7eb0c02 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 c1b1db1e28c..99bb7ba3a57 100644
--- a/meson.build
+++ b/meson.build
@@ -2932,6 +2932,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
--
2.33.1
- Re: [PATCH 10/30] bsd-user/signal.c: Implement signal_init(), (continued)
[PATCH 17/30] bsd-user/signal.c: Implement rewind_if_in_safe_syscall, Warner Losh, 2022/01/09