1 KERNEL_MODULE_AUTOLOAD:append = " vspm_if"
2 KERNEL_MODULE_PACKAGE_SUFFIX = ""
5 # Work around upstream not using ${nonarch_base_libdir}/modules
6 if ${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', 'true', 'false', d)}; then
7 install -d ${D}${nonarch_base_libdir}/
8 mv ${D}/lib/modules ${D}${nonarch_base_libdir}/
13 # Required to guarantee the module goes into the expected
14 # kernel-module-vspmif package and doesn't end up packaged in
15 # kernel-module-vspm-if by the default behavior. Can be removed if
16 # upstream correctly use ${nonarch_base_libdir} themselves.
17 FILES:${PN} += "${nonarch_base_libdir}/modules/${KERNEL_VERSION}/extra/vspm_if.ko"