diff options
author | John Klug <john.klug@multitech.com> | 2020-07-13 17:46:42 -0500 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2020-07-13 17:46:42 -0500 |
commit | 2188ab4cbd1320b42d7e358e89c82df6d33fa0c4 (patch) | |
tree | 8afb82d7fe8274fb22e2f806a2a9fa9a03b71699 | |
parent | b651cc5aeb1108fc83cc1cbc7b327c4a65388c43 (diff) | |
download | meta-multitech-atmel-2188ab4cbd1320b42d7e358e89c82df6d33fa0c4.tar.gz meta-multitech-atmel-2188ab4cbd1320b42d7e358e89c82df6d33fa0c4.tar.bz2 meta-multitech-atmel-2188ab4cbd1320b42d7e358e89c82df6d33fa0c4.zip |
Add KERNEL_REVISION variable and fix up STAGING_KERNEL_BUILDDIR for modules
-rw-r--r-- | recipes-kernel/linux/linux-at91_4.9.87.bb | 8 |
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)" |