From 23a5bb477a93c771e7999a350702d7175deb4aa4 Mon Sep 17 00:00:00 2001 From: Bruce Richardson Date: Tue, 12 Nov 2019 16:41:35 +0000 Subject: [PATCH] kernel/freebsd: allow installing kernel modules Set the install path for the kernel modules as /boot/modules. This may ease the integration with the official FreeBSD ports system as all components should be correctly located in the staging directory after running "ninja install" Signed-off-by: Bruce Richardson Acked-by: Luca Boccassi --- kernel/freebsd/meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kernel/freebsd/meson.build b/kernel/freebsd/meson.build index 336083c480..ab1177147a 100644 --- a/kernel/freebsd/meson.build +++ b/kernel/freebsd/meson.build @@ -28,5 +28,7 @@ foreach k:kmods 'KMOD=' + k, 'KMOD_CFLAGS=' + ' '.join(kmod_cflags)], depends: built_kmods, # make each module depend on prev - build_by_default: get_option('enable_kmods')) + build_by_default: get_option('enable_kmods'), + install: get_option('enable_kmods'), + install_dir: '/boot/modules/') endforeach -- 2.20.1