From 8a6ee8f90a0bcf7a230a13b53a4d397d869dfd2f Mon Sep 17 00:00:00 2001 From: Baikal Electronics Date: Mon, 19 Sep 2022 18:28:24 +0300 Subject: [PATCH] linux-baikal: Make bitbake use in-tree defcongig --- meta-baikal/conf/machine/bfk3.conf | 2 +- meta-baikal/recipes-kernel/linux/linux-baikal.inc | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/meta-baikal/conf/machine/bfk3.conf b/meta-baikal/conf/machine/bfk3.conf index ef631ef..34879cf 100644 --- a/meta-baikal/conf/machine/bfk3.conf +++ b/meta-baikal/conf/machine/bfk3.conf @@ -7,7 +7,7 @@ require conf/machine/include/baikal-t1.inc # Kernel and bootloader default configs UBOOT_MACHINE = "baikal_bfk3_defconfig" -KBUILD_DEFCONFIG = "baikal_bfk3_defconfig" +KBUILD_DEFCONFIG = "bfk3_defconfig" KERNEL_DEVICETREE = "baikal-t1/bfk3.dtb" PREFERRED_PROVIDER_virtual/kernel = "linux-baikal" PREFERRED_VERSION_virtual/kernel = "5.15%" diff --git a/meta-baikal/recipes-kernel/linux/linux-baikal.inc b/meta-baikal/recipes-kernel/linux/linux-baikal.inc index 723c0d2..00ab3d4 100644 --- a/meta-baikal/recipes-kernel/linux/linux-baikal.inc +++ b/meta-baikal/recipes-kernel/linux/linux-baikal.inc @@ -4,6 +4,7 @@ LICENSE = "GPL-2.0-only" HOMEPAGE = "https://www.baikalelectronics.ru/" inherit kernel +inherit kernel-yocto # Skip processing of this recipe if it is not explicitly specified as the # PREFERRED_PROVIDER for virtual/kernel. This avoids network access required @@ -26,6 +27,9 @@ KERNEL_LD:append:mipsel = " ${TOOLCHAIN_OPTIONS}" LINUX_VERSION_EXTENSION ??= "-oebaikal-${LINUX_KERNEL_TYPE}" +KCONFIG_MODE = "--alldefconfig" + +KERNEL_VERSION_SANITY_SKIP = "1" B = "${WORKDIR}/linux-${PACKAGE_ARCH}-${LINUX_KERNEL_TYPE}-build" -- 2.39.5