From cb4b1f2d623ab711b52a75a98e8aa5cec7ea332d Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Mon, 24 Apr 2023 08:52:56 -0300 Subject: linux-fslc: remove SoC-specific defconfig to use in-tree defconfig In the past, we preferred to use the defconfig inside the layer, so it served as a reference for users. However, a lot of time passed, and users are now more used to using configuration fragments and Linux kernel forks, so it seems to be time to make it easier for us, maintainers, to manage the kernel and to use in-tree defconfig. Fixes: #1427. Signed-off-by: Otavio Salvador --- recipes-kernel/linux/linux-fslc_6.1.bb | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'recipes-kernel/linux/linux-fslc_6.1.bb') diff --git a/recipes-kernel/linux/linux-fslc_6.1.bb b/recipes-kernel/linux/linux-fslc_6.1.bb index 879c9e13..3f9eced4 100644 --- a/recipes-kernel/linux/linux-fslc_6.1.bb +++ b/recipes-kernel/linux/linux-fslc_6.1.bb @@ -10,12 +10,11 @@ provide support for some backported features and fixes, or because it was applie and takes some time to become part of a stable version, or because it is not applicable for \ upstreaming." -DEPENDS += "bc-native" +DEPENDS += "lzop-native bc-native" require linux-imx.inc -SRC_URI = "git://github.com/Freescale/linux-fslc.git;branch=${KBRANCH};protocol=https \ - file://defconfig" +SRC_URI = "git://github.com/Freescale/linux-fslc.git;branch=${KBRANCH};protocol=https" # PV is defined in the base in linux-imx.inc file and uses the LINUX_VERSION definition # required by kernel-yocto.bbclass. @@ -27,6 +26,17 @@ LINUX_VERSION = "6.1.24" KBRANCH = "6.1.x+fslc" SRCREV = "4c5917cbbb13c618abe50bb85048b784bd1b1095" +KBUILD_DEFCONFIG:mx27-generic-bsp = "imx_v4_v5_defconfig" +KBUILD_DEFCONFIG:mx5-generic-bsp = "imx_v6_v7_defconfig" +KBUILD_DEFCONFIG:mx5-generic-bsp = "imx_v6_v7_defconfig" +KBUILD_DEFCONFIG:mx5-generic-bsp = "imx_v6_v7_defconfig" +KBUILD_DEFCONFIG:mx6-generic-bsp = "imx_v6_v7_defconfig" +KBUILD_DEFCONFIG:mx7-generic-bsp = "imx_v6_v7_defconfig" +KBUILD_DEFCONFIG:mx8-generic-bsp = "defconfig" +KBUILD_DEFCONFIG:mx9-generic-bsp = "defconfig" +KBUILD_DEFCONFIG:mxs-generic-bsp = "mxs_defconfig" +KBUILD_DEFCONFIG:vf-generic-bsp = "imx_v6_v7_defconfig" + LOCALVERSION = "-fslc" COMPATIBLE_MACHINE = "(imx-generic-bsp)" -- cgit v1.2.3-54-g00ecf