diff options
author | Dave Jones <davej@redhat.com> | 2012-03-19 17:30:04 -0400 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2012-03-19 17:30:04 -0400 |
commit | 384fed008db95925ccee2c0c632dbc4e6133f40c (patch) | |
tree | e15f47ea8eb1f45dd138e2258f5e6eba8976a7c8 /scripts | |
parent | bf4a7c2c8828dcac88fb543f969b374f6b1dc6c8 (diff) | |
download | kernel-384fed008db95925ccee2c0c632dbc4e6133f40c.tar.gz kernel-384fed008db95925ccee2c0c632dbc4e6133f40c.tar.xz kernel-384fed008db95925ccee2c0c632dbc4e6133f40c.zip |
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
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/allarchconfig.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/scripts/allarchconfig.sh b/scripts/allarchconfig.sh new file mode 100755 index 000000000..f80c23197 --- /dev/null +++ b/scripts/allarchconfig.sh @@ -0,0 +1,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 + |