require checksum_control.inc KERNEL_MODULE_AUTOLOAD = "uvcs_drv" do_install:append() { # Work around upstream not using ${nonarch_base_libdir}/modules if ${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', 'true', 'false', d)}; then install -d ${D}${nonarch_base_libdir}/ mv ${D}/lib/modules ${D}${nonarch_base_libdir}/ rm -rf ${D}/lib fi }