summaryrefslogtreecommitdiffstats
path: root/scripts/allarchconfig.sh
blob: f80c2319773da29246109b4785bd75a8b393a78d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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