1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-01-12 01:20:20 +00:00

multi-kernel.inc: the current fetcher2 in yocto started having a glitch, so fix it up

When the glitch has been fixed this can get removed

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
Koen Kooi
2011-02-01 16:03:31 +01:00
parent 2612077410
commit 1501b22dcc

View File

@@ -23,11 +23,20 @@ EXTRA_OEMAKE = "${PARALLEL_MAKE} "
do_compileconfigs () {
# fixup for fetcher change
if [ -e ${WORKDIR}/configs/configs ] ; then
if [ -e ${WORKDIR}/configs/configs/.empty ] ; then
mv ${WORKDIR}/configs/configs/.empty ${WORKDIR}/configs/
fi
mv ${WORKDIR}/configs/configs/* ${WORKDIR}/configs/
rm -rf ${WORKDIR}/configs/configs
fi
# Compile and Install additional kernel configs if found
if [ -e ${WORKDIR}/configs/.empty ] ; then
echo "No configs found in configs/ directory, skipping to regular build"
else
echo "Multiple configs found, building those first"
echo "Multiple configs found, building those first"
# Context Save the regular 'defconfig'
cp ${WORKDIR}/defconfig ${WORKDIR}/defconfig.save