1 require checksum_control.inc
3 module_do_compile:prepend() {
4 cd ${S}/build/linux/config/compilers
5 cp aarch64-linux-gnu.mk ${TARGET_SYS}.mk
9 # Work around upstream not using ${nonarch_base_libdir}/modules
10 if ${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', 'true', 'false', d)}; then
11 install -d ${D}${nonarch_base_libdir}/
12 mv ${D}/lib/modules ${D}${nonarch_base_libdir}/
17 # Required to guarantee the module goes into the expected
18 # kernel-module-gles package and doesn't end up packaged in
19 # kernel-module-pvrsvkm by the default behavior. Can be removed
20 # if upstream correctly use ${nonarch_base_libdir} themselves.
21 FILES:${PN} += "${nonarch_base_libdir}/modules/${KERNEL_VERSION}/extra/pvrsrvkm.ko"