You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
320 B

#!/bin/bash
make busybox-update-config
make linux-update-config
make savedefconfig
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"
fi
done
echo 'Saved!'
echo