diff --git a/topic/k2c-qli-build-ga/build_from_source_github.rst b/topic/k2c-qli-build-ga/build_from_source_github.rst index 14e7c86..e386400 100644 --- a/topic/k2c-qli-build-ga/build_from_source_github.rst +++ b/topic/k2c-qli-build-ga/build_from_source_github.rst @@ -106,6 +106,7 @@ Create and build a Yocto image: * The machine configurations have either UFS or EMMC storage enabled by default. To change the default storage, see :ref:`Set storage `. * To build meta-qcom tip, see :ref:`Build meta-qcom tip `. * For repo manifest based builds, see :ref:`Alternative build instructions using Manifest `. + * For enabling debug configuration for builds, see :ref:`Create a build for debugging `. Flash ----- diff --git a/topic/k2c-qli-build-ga/howto_build.rst b/topic/k2c-qli-build-ga/howto_build.rst index e74fec0..1b87722 100644 --- a/topic/k2c-qli-build-ga/howto_build.rst +++ b/topic/k2c-qli-build-ga/howto_build.rst @@ -37,6 +37,24 @@ tag for ``meta-qcom``. The milestone release provides locked revisions for the w For various ```` and ```` combinations, see `Release Notes `__. +.. _debug_build: + +Creating a build for debugging +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +To generate a debug build, add ``debug.yml`` kas configuration fragment to your build command. +To understand which kernel defconfig and config fragments are used when DEBUG_BUILD is set to 1, see Kernel recipe, under `Kernel recipes `__. + +#. Build the software image with debug configuration. + + .. container:: nohighlight + + :: + + kas build meta-qcom/ci/:meta-qcom/ci/:meta-qcom/ci/linux-qcom-6.18.yml:meta-qcom/ci/debug.yml + + # Example, kas build meta-qcom/ci/iq-9075-evk.yml:meta-qcom/ci/qcom-distro.yml:meta-qcom/ci/linux-qcom-6.18.yml:meta-qcom/ci/debug.yml + .. _build_manifest: Alternative build instructions using Manifest