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 <bruce.richardson@intel.com>
Acked-by: Luca Boccassi <bluca@debian.org>
This commit is contained in:
Bruce Richardson 2019-11-12 16:41:35 +00:00 committed by David Marchand
parent 3be76aa929
commit 23a5bb477a

View File

@ -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