From: Hongzhan Chen Subject: [xenomai-image 1/3] recipes-kernel/linux: control appyling of no debug config fragment Date: Tue, 27 Jul 2021 22:21:22 -0400 Message-Id: <20210728022124.23466-2-hongzhan.chen@intel.com> In-Reply-To: <20210728022124.23466-1-hongzhan.chen@intel.com> References: <20210728022124.23466-1-hongzhan.chen@intel.com> List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org By default, nodbg config fragment would not be applied. Signed-off-by: Hongzhan Chen --- recipes-kernel/linux/linux-xenomai.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes-kernel/linux/linux-xenomai.inc b/recipes-kernel/linux/linux-xenomai.inc index 185b60b..5f639df 100644 --- a/recipes-kernel/linux/linux-xenomai.inc +++ b/recipes-kernel/linux/linux-xenomai.inc @@ -12,8 +12,10 @@ require recipes-kernel/linux/linux-custom.inc KERNEL_DEFCONFIG ?= "${DISTRO_ARCH}_defconfig" +DISTRO_NODBG ?= "0" SRC_URI += "file://${KERNEL_DEFCONFIG}" +SRC_URI += "${@'file://common_nodbg.cfg' if d.getVar('DISTRO_NODBG') == '1' else ''}" DEPENDS += "xenomai-kernel-source" KBUILD_DEPENDS += "xenomai-kernel-source" -- 2.17.1