Message ID | 20220109161923.85683-15-imp@bsdimp.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | bsd-user: upstream our signal implementation | expand |
On Sun, 9 Jan 2022 at 16:32, Warner Losh <imp@bsdimp.com> wrote: > > 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(+) Reviewed-by: Peter Maydell <peter.maydell@linaro.org> thanks -- PMM
On 1/10/22 3:19 AM, Warner Losh wrote: > 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(+) Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
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
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(+)