384fed008d
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
17 lines
327 B
Bash
Executable File
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
|
|
|