Skip to content

Commit 0c8eae9

Browse files
meta-qcom: include hardening configs by default
- Included the hardening.config as part of the default build configuration. - Improves baseline security without requiring manual opt-in. - Aligns with best practices for secure and robust builds. Signed-off-by: Abhilasha Manna <[email protected]>
1 parent 81d6358 commit 0c8eae9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

recipes-kernel/linux/linux-qcom-next_git.bb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ S = "${UNPACKDIR}/${BP}"
3636
KBUILD_DEFCONFIG ?= "defconfig"
3737
KBUILD_DEFCONFIG:qcom-armv7a = "qcom_defconfig"
3838

39-
CONFIG_LIST = "${@" ".join(find_cfgs(d))}"
40-
CONFIG_LIST += "${@bb.utils.contains('DISTRO_FEATURES', 'hardened', '${S}/kernel/configs/hardening.config', '', d)}"
39+
CONFIG_LIST = "${@" ".join(find_cfgs(d))}"
40+
CONFIG_LIST += "${S}/kernel/configs/hardening.config"
4141

4242
do_configure:prepend() {
4343
# Use a copy of the 'defconfig' from the actual repo to merge fragments

0 commit comments

Comments
 (0)