diff --git a/recipes-kernel/linux/linux-qcom-next_git.bb b/recipes-kernel/linux/linux-qcom-next_git.bb index 8fa0118f6..580faa564 100644 --- a/recipes-kernel/linux/linux-qcom-next_git.bb +++ b/recipes-kernel/linux/linux-qcom-next_git.bb @@ -36,13 +36,12 @@ S = "${UNPACKDIR}/${BP}" KBUILD_DEFCONFIG ?= "defconfig" KBUILD_DEFCONFIG:qcom-armv7a = "qcom_defconfig" -CONFIG_LIST = "${@" ".join(find_cfgs(d))}" -CONFIG_LIST += "${@bb.utils.contains('DISTRO_FEATURES', 'hardened', '${S}/kernel/configs/hardening.config', '', d)}" +KBUILD_CONFIG_EXTRA = "${S}/kernel/configs/hardening.config" do_configure:prepend() { # Use a copy of the 'defconfig' from the actual repo to merge fragments cp ${S}/arch/${ARCH}/configs/${KBUILD_DEFCONFIG} ${B}/.config # Merge fragment for QCOM value add features - ${S}/scripts/kconfig/merge_config.sh -m -O ${B} ${B}/.config ${CONFIG_LIST} + ${S}/scripts/kconfig/merge_config.sh -m -O ${B} ${B}/.config ${@" ".join(find_cfgs(d))} ${KBUILD_CONFIG_EXTRA} }