kernel/scripts/allarchconfig.sh
Dave Jones 384fed008d Move the 'prep all configs' to a separate script.
This cuts make prep time down from 53s to 10s on my desktop.
A full run across all archs can be done from within a source
tree by running ../../scripts/allarchconfig.sh
2012-03-19 17:30:04 -04:00

17 lines
327 B
Bash
Executable File

#!/bin/sh
# Run from within a source tree.
for i in configs/kernel-*.config
do
cp -f $i .config
Arch=`head -1 .config | cut -b 3-`
echo $Arch \($i\)
make ARCH=$Arch listnewconfig | grep -E '^CONFIG_' >.newoptions || true;
if [ -s .newoptions ]; then
cat .newoptions;
exit 1;
fi;
rm -f .newoptions;
done