diff options
author | Saul Wold <sgw@linux.intel.com> | 2017-12-04 10:39:23 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-12-10 22:45:21 +0000 |
commit | adb9d45f5d5dc418ab85dc659326f3c7350ef446 (patch) | |
tree | 104c7e1b073375c87a916e63c37ac96fa62e9045 /meta/classes | |
parent | 7f432d9225551d57ae8f82f7c9bc23d174720f07 (diff) | |
download | poky-adb9d45f5d5dc418ab85dc659326f3c7350ef446.tar.gz |
kernel-yocto: ensure sccs variable is set when using KBUILD_DEFCONFIG
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]
(From OE-Core rev: b63cc051f1eb58c768f49db2c04843336e62d3df)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/kernel-yocto.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass index 1d447951c4..98ec78fb76 100644 --- a/meta/classes/kernel-yocto.bbclass +++ b/meta/classes/kernel-yocto.bbclass | |||
@@ -110,8 +110,8 @@ do_kernel_metadata() { | |||
110 | fi | 110 | fi |
111 | else | 111 | else |
112 | cp -f ${S}/arch/${ARCH}/configs/${KBUILD_DEFCONFIG} ${WORKDIR}/defconfig | 112 | cp -f ${S}/arch/${ARCH}/configs/${KBUILD_DEFCONFIG} ${WORKDIR}/defconfig |
113 | sccs="${WORKDIR}/defconfig" | ||
114 | fi | 113 | fi |
114 | sccs="${WORKDIR}/defconfig" | ||
115 | else | 115 | else |
116 | bbfatal "A KBUILD_DEFCONFIG '${KBUILD_DEFCONFIG}' was specified, but not present in the source tree" | 116 | bbfatal "A KBUILD_DEFCONFIG '${KBUILD_DEFCONFIG}' was specified, but not present in the source tree" |
117 | fi | 117 | fi |