From e38d249e562f53c93804cb1f9c2c97bf2d13f579 Mon Sep 17 00:00:00 2001 From: Josep Orga Date: Tue, 28 Nov 2023 16:07:15 +0100 Subject: [PATCH] meta-somdevices: linux-somdevices: Use different defconfig depending on the processor used. Signed-off-by: Josep Orga --- recipes-kernel/linux/linux-somdevices_5.10.bb | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/recipes-kernel/linux/linux-somdevices_5.10.bb b/recipes-kernel/linux/linux-somdevices_5.10.bb index c3b8ad3..c3a2948 100644 --- a/recipes-kernel/linux/linux-somdevices_5.10.bb +++ b/recipes-kernel/linux/linux-somdevices_5.10.bb @@ -31,11 +31,12 @@ DO_CONFIG_V7_COPY_mx8 = "no" # Add setting for LF Mainline build IMX_KERNEL_CONFIG_AARCH32 = "imx_v7_defconfig" -IMX_KERNEL_CONFIG_AARCH64 = "imx8mmn_somdevices_defconfig" KBUILD_DEFCONFIG ?= "" KBUILD_DEFCONFIG_mx6= "${IMX_KERNEL_CONFIG_AARCH32}" KBUILD_DEFCONFIG_mx7= "${IMX_KERNEL_CONFIG_AARCH32}" -KBUILD_DEFCONFIG_mx8= "${IMX_KERNEL_CONFIG_AARCH64}" +KBUILD_DEFCONFIG_mx8mm= "imx8mmn_somdevices_defconfig" +KBUILD_DEFCONFIG_mx8mn= "imx8mmn_somdevices_defconfig" +KBUILD_DEFCONFIG_mx8mp= "imx8mp_somdevices_defconfig" # Use a verbatim copy of the defconfig from the linux-imx repo. @@ -49,9 +50,9 @@ do_copy_defconfig () { mkdir -p ${B} cp ${S}/arch/arm/configs/${IMX_KERNEL_CONFIG_AARCH32} ${B}/.config else - # copy latest IMX_KERNEL_CONFIG_AARCH64 to use for mx8 + # copy latest KBUILD_DEFCONFIG to use for mx8 mkdir -p ${B} - cp ${S}/arch/arm64/configs/${IMX_KERNEL_CONFIG_AARCH64} ${B}/.config + cp ${S}/arch/arm64/configs/${KBUILD_DEFCONFIG} ${B}/.config fi } -- 2.17.1