diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2011-02-01 16:03:31 +0100 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-02-01 16:03:31 +0100 |
commit | 1501b22dccd94023163092bebd5d52b85ba13fa1 (patch) | |
tree | ae7502f00843d19b4fa918c16aaa715ecf894060 /recipes-bsp | |
parent | 2612077410dd6ec452eb18661e64e246c4bc7964 (diff) | |
download | openembedded-core-contrib-1501b22dccd94023163092bebd5d52b85ba13fa1.tar.gz |
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>
Diffstat (limited to 'recipes-bsp')
-rw-r--r-- | recipes-bsp/linux/multi-kernel.inc | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/recipes-bsp/linux/multi-kernel.inc b/recipes-bsp/linux/multi-kernel.inc index 9f5a0a031e..d34994fc17 100644 --- a/recipes-bsp/linux/multi-kernel.inc +++ b/recipes-bsp/linux/multi-kernel.inc @@ -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 |