Skip to content

Commit 6942cf3

Browse files
committed
linux-qcom-next: 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 2a76247 commit 6942cf3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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

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

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

0 commit comments

Comments
 (0)