Skip to content

Commit 60ae58b

Browse files
committed
linux-qcom-6.18: conditionally include qcom_debug.config for aarch64 debug builds
Include `qcom_debug.config` in KBUILD_CONFIG_EXTRA for aarch64 only when `DEBUG_BUILD` is enabled. This enables QCOM-specific debug options such as DCC and memory dump support for debug builds, while leaving normal builds unaffected. Signed-off-by: Jie Gan <jie.gan@oss.qualcomm.com>
1 parent 6942cf3 commit 60ae58b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

recipes-kernel/linux/linux-qcom_6.18.bb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ KBUILD_CONFIG_EXTRA = "${@bb.utils.contains('DISTRO_FEATURES', 'hardened', '${S}
4343
KBUILD_CONFIG_EXTRA:append:aarch64 = " ${S}/arch/arm64/configs/prune.config"
4444
KBUILD_CONFIG_EXTRA:append:aarch64 = " ${S}/arch/arm64/configs/qcom.config"
4545
KBUILD_CONFIG_EXTRA:append = " ${@oe.utils.vartrue('DEBUG_BUILD', '${S}/kernel/configs/debug.config', '', d)}"
46+
KBUILD_CONFIG_EXTRA:append:aarch64 = " ${@oe.utils.vartrue('DEBUG_BUILD', '${S}/arch/arm64/configs/qcom_debug.config', '', d)}"
4647

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

0 commit comments

Comments
 (0)