public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] linux-custom: Support use of an arbitrary in-tree defconfig
@ 2020-07-07 10:59 Vijai Kumar K
  0 siblings, 0 replies; only message in thread
From: Vijai Kumar K @ 2020-07-07 10:59 UTC (permalink / raw)
  To: isar-users; +Cc: Cedric Hombourger, Vijai Kumar K

From: Cedric Hombourger <Cedric_Hombourger@mentor.com>

Support using in-tree defconfigs in linux builds.

Signed-off-by: Cedric Hombourger <Cedric_Hombourger@mentor.com>
Signed-off-by: Vijai Kumar K <Vijaikumar_Kanagarajan@mentor.com>
---
 meta/recipes-kernel/linux/linux-custom.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-kernel/linux/linux-custom.inc b/meta/recipes-kernel/linux/linux-custom.inc
index 22ac241..ed89aa0 100644
--- a/meta/recipes-kernel/linux/linux-custom.inc
+++ b/meta/recipes-kernel/linux/linux-custom.inc
@@ -145,6 +145,8 @@ dpkg_configure_kernel() {
 		if [ -e "${WORKDIR}/${KERNEL_DEFCONFIG}" ]; then
 			cp ${WORKDIR}/${KERNEL_DEFCONFIG} ${S}/${KERNEL_BUILD_DIR}/.config
 			config_target="olddefconfig"
+		else
+			config_target="defconfig KBUILD_DEFCONFIG=${KERNEL_DEFCONFIG}"
 		fi
 	else
 		config_target="defconfig"
-- 
2.17.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-07-07 10:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-07 10:59 [PATCH] linux-custom: Support use of an arbitrary in-tree defconfig Vijai Kumar K

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox