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>
This commit is contained in:
Warner Losh 2022-01-08 17:27:34 -07:00
parent b375158801
commit 85fc1b5dbf
2 changed files with 2 additions and 0 deletions

View 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

View 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