fixed path in save script

pull/5/head
xSmurf 9 years ago
parent 52c9f4d792
commit 1ed7b444bf

@ -4,12 +4,11 @@ make busybox-update-config
make linux-update-config
make savedefconfig
for fconf in ../builddir/configs/*_defconfig; do
BDIR=$(dirname $(dirname ${0}))
for fconf in $BDIR/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!'

Loading…
Cancel
Save