Fixed saved script for multiple config files

pull/5/head
xSmurf 9 years ago
parent de0b17ac11
commit ca5dbd4823

@ -4,7 +4,13 @@ make busybox-update-config
make linux-update-config make linux-update-config
make savedefconfig make savedefconfig
echo 'BR2_DEFCONFIG="$(BR2_EXTERNAL)/configs/coreboot_defconfig"' >> ../builddir/configs/coreboot_defconfig
for fconf in ../builddir/configs/*_defconfig; do
fgrep -q BR2_DEFCONFIG "$fconf"
if [ $? -gt 0 ]; then
echo 'BR2_DEFCONFIG="$(BR2_EXTERNAL)/configs/'${fconf##*/}'"' >> "$fconf"
#echo 'BR2_DEFCONFIG="$(BR2_EXTERNAL)/configs/coreboot_defconfig"' >> ../builddir/configs/coreboot_defconfig
fi
done
echo 'Saved!' echo 'Saved!'
echo echo

Loading…
Cancel
Save