summary refs log tree commit diff stats
path: root/bsd-user/meson.build
diff options
context:
space:
mode:
authorStacey Son <sson@FreeBSD.org>2023-09-25 21:24:03 +0300
committerWarner Losh <imp@bsdimp.com>2023-10-03 17:14:06 -0600
commit0caa37687882569163ed5984d554938fb327ea3c (patch)
treeedda57ea1f97e25972a7215aeccaf19be7f0657e /bsd-user/meson.build
parent00bff01fc09c5e3aed4d35842ebc3dbc36a56ee9 (diff)
downloadfocaccia-qemu-0caa37687882569163ed5984d554938fb327ea3c.tar.gz
focaccia-qemu-0caa37687882569163ed5984d554938fb327ea3c.zip
bsd-user: Implement target_to_host_resource conversion function
Signed-off-by: Stacey Son <sson@FreeBSD.org>
Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com>
Reviewed-by: Warner Losh <imp@bsdimp.com>
Message-Id: <20230925182425.3163-7-kariem.taha2.7@gmail.com>
Diffstat (limited to 'bsd-user/meson.build')
-rw-r--r--bsd-user/meson.build6
1 files changed, 6 insertions, 0 deletions
diff --git a/bsd-user/meson.build b/bsd-user/meson.build
index 5243122fc5..b97fce1472 100644
--- a/bsd-user/meson.build
+++ b/bsd-user/meson.build
@@ -7,6 +7,7 @@ bsd_user_ss = ss.source_set()
 common_user_inc += include_directories('include')
 
 bsd_user_ss.add(files(
+  'bsd-proc.c',
   'bsdload.c',
   'elfload.c',
   'main.c',
@@ -16,6 +17,11 @@ bsd_user_ss.add(files(
   'uaccess.c',
 ))
 
+elf = cc.find_library('elf', required: true)
+procstat = cc.find_library('procstat', required: true)
+kvm = cc.find_library('kvm', required: true)
+bsd_user_ss.add(elf, procstat, kvm)
+
 # Pull in the OS-specific build glue, if any
 subdir(targetos)