summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--recipes-kernel/linux/linux-at91_4.9.87.bb8
1 files changed, 6 insertions, 2 deletions
diff --git a/recipes-kernel/linux/linux-at91_4.9.87.bb b/recipes-kernel/linux/linux-at91_4.9.87.bb
index 6929d40..0fa6005 100644
--- a/recipes-kernel/linux/linux-at91_4.9.87.bb
+++ b/recipes-kernel/linux/linux-at91_4.9.87.bb
@@ -20,6 +20,7 @@ KERNEL_EXTRA_ARGS ="LOADADDR=0x20008000"
PR = "r11"
KERNEL_VERSION = "${PV}"
+KERNEL_REVISION = "${PR}"
EXTRAVERSION = ""
SAMV = "linux4sam_5.8"
@@ -99,8 +100,11 @@ do_deploy_append() {
fi
}
-# Kernel PR is used for MLINUX_KERNEL_EXTRA_VERSION; share it here:
+# Files needed to build external kernel modules.
do_shared_workdir_append() {
+ install -d -m 755 ${STAGING_KERNEL_BUILDDIR}/include/config
+ cp -a ${B}/include/config ${STAGING_KERNEL_BUILDDIR}/include/
+ cp -a ${B}/scripts ${STAGING_KERNEL_BUILDDIR}
echo ${PR} > ${STAGING_KERNEL_BUILDDIR}/mlinux_pr
}
@@ -109,7 +113,7 @@ kernel_do_configure_append() {
cd ${S}; git status; cd -
}
-KERNEL_MODULE_PACKAGE_SUFFIX=""
+# KERNEL_MODULE_PACKAGE_SUFFIX=""
COMPATIBLE_MACHINE = "(mtcdt|mtrv1|mtr|mtcap|mths)"