comparison sources/toys/miniconfig.sh @ 350:9db12e74a380

Fun _new_ breakage: using arch/arm/configs/spitz_defconfig in 2.6.25.4 as the KCONFIG_ALLCONFIG input, the output of make allnoconfig needs a "make oldconfig" afterwards to stabilize it. Yes really.
author Rob Landley <rob@landley.net>
date Wed, 11 Jun 2008 19:51:45 -0500
parents 798cdf05aca2
children 8de4598dfe46
comparison
equal deleted inserted replaced
349:798cdf05aca2 350:9db12e74a380
27 echo "It overwrites .config, rename it and try again." 27 echo "It overwrites .config, rename it and try again."
28 exit 1 28 exit 1
29 fi 29 fi
30 30
31 make allnoconfig KCONFIG_ALLCONFIG="$1" > /dev/null 31 make allnoconfig KCONFIG_ALLCONFIG="$1" > /dev/null
32 # Shouldn't need this, but kconfig goes "boing" at times...
33 yes "" | make oldconfig > /dev/null
32 if ! cmp .config "$1" 34 if ! cmp .config "$1"
33 then 35 then
34 echo Sanity test failed, normalizing starting configuration... 36 echo Sanity test failed, normalizing starting configuration...
35 diff -u "$1" .config 37 diff -u "$1" .config
36 fi 38 fi