kernel/scripts/allarchconfig.sh
Justin M. Forbes 3ff7c261fb Linux v4.12.3
2017-07-24 16:25:32 -05:00

16 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