Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 1/2] kernel-yocto: ensure sccs variable is set when using KBUILD_DEFCONFIG
@ 2017-11-29  3:28 Saul Wold
  2017-11-29  3:28 ` [PATCH 2/2] kernel-yocto: Stop the build if defconfig is missing Saul Wold
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Saul Wold @ 2017-11-29  3:28 UTC (permalink / raw)
  To: openembedded-core, richard.purdie, bruce.ashfield

When using KBUILD_DEFCONFIG, $sccs should be set to the $WORKDIR/defconfig
regardless if it compares or is copied. Otherwise $sccs is not set and the
defconfig is not found correctly.

Part of
[YOCTO #12162]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/classes/kernel-yocto.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
index 1d447951c49..98ec78fb768 100644
--- a/meta/classes/kernel-yocto.bbclass
+++ b/meta/classes/kernel-yocto.bbclass
@@ -110,8 +110,8 @@ do_kernel_metadata() {
 				fi
 			else
 				cp -f ${S}/arch/${ARCH}/configs/${KBUILD_DEFCONFIG} ${WORKDIR}/defconfig
-				sccs="${WORKDIR}/defconfig"
 			fi
+			sccs="${WORKDIR}/defconfig"
 		else
 			bbfatal "A KBUILD_DEFCONFIG '${KBUILD_DEFCONFIG}' was specified, but not present in the source tree"
 		fi
-- 
2.13.6



^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-12-01  5:38 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-29  3:28 [PATCH 1/2] kernel-yocto: ensure sccs variable is set when using KBUILD_DEFCONFIG Saul Wold
2017-11-29  3:28 ` [PATCH 2/2] kernel-yocto: Stop the build if defconfig is missing Saul Wold
2017-11-29  3:46 ` [PATCH 1/2] kernel-yocto: ensure sccs variable is set when using KBUILD_DEFCONFIG Bruce Ashfield
2017-11-29 14:23 ` Bruce Ashfield
2017-11-29 16:30   ` Saul Wold
2017-11-29 16:56     ` Bruce Ashfield
2017-11-29 17:52       ` Saul Wold
2017-11-29 18:13         ` Bruce Ashfield
2017-11-29 18:24           ` Saul Wold
2017-12-01  5:38             ` Bruce Ashfield

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