mirror of
https://git.yoctoproject.org/poky
synced 2026-09-16 18:49:34 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
7f432d9225
commit
adb9d45f5d
@@ -110,8 +110,8 @@ do_kernel_metadata() {
|
|||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
cp -f ${S}/arch/${ARCH}/configs/${KBUILD_DEFCONFIG} ${WORKDIR}/defconfig
|
cp -f ${S}/arch/${ARCH}/configs/${KBUILD_DEFCONFIG} ${WORKDIR}/defconfig
|
||||||
sccs="${WORKDIR}/defconfig"
|
|
||||||
fi
|
fi
|
||||||
|
sccs="${WORKDIR}/defconfig"
|
||||||
else
|
else
|
||||||
bbfatal "A KBUILD_DEFCONFIG '${KBUILD_DEFCONFIG}' was specified, but not present in the source tree"
|
bbfatal "A KBUILD_DEFCONFIG '${KBUILD_DEFCONFIG}' was specified, but not present in the source tree"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user