[1/2] freebsd: allow installing kernel modules
diff mbox series

Message ID 20191112164136.70510-2-bruce.richardson@intel.com
State Accepted, archived
Delegated to: David Marchand
Headers show
Series
  • small improvements for FreeBSD build
Related show

Checks

Context Check Description
ci/Intel-compilation success Compilation OK
ci/iol-mellanox-Performance success Performance Testing PASS
ci/iol-compilation success Compile Testing PASS
ci/iol-intel-Performance success Performance Testing PASS
ci/checkpatch success coding style OK

Commit Message

Bruce Richardson Nov. 12, 2019, 4:41 p.m. UTC
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 <bruce.richardson@intel.com>
---
 kernel/freebsd/meson.build | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Patch
diff mbox series

diff --git a/kernel/freebsd/meson.build b/kernel/freebsd/meson.build
index 336083c48..ab1177147 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