GTA02 kernel packaging config

Andy Green andy at openmoko.com
Wed Dec 10 22:51:46 CET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Somebody in the thread at some point said:
| Andy Green wrote:
|> I have added a new partially autogenerated config for GTA02 to the
|> tracking branches
|
| Is the autogenerator somewhere as well ?
|
| By the way, regarding .config cleanups: I always wondered why we have
| CONFIG_MD enabled. Does anyone really use this ? Granted, removing it
| only reduces uImage by some 140 bytes, but still. CONFIG_HWMON, which
| seems even more superfluous would even yield half a kB !

It's just a simple script knocked up, first

cat defconfig-gta02 | sort | grep =m > /tmp/modules-2.6.24

then

#!/bin/sh

for i in `cat /tmp/modules-2.6.24` ; do
~  OPT=`echo $i | sed s/=.*//g`
~  cat .config | grep -v "$OPT=" > .config1
~  echo $i >> .config1
~  rm .config
~  mv .config1 .config
~  echo $OPT
done

make ARCH=arm oldconfig

for i in `cat /tmp/modules-2.6.24` ; do
~ if [ -z "`cat .config | grep $i`" ] ; then
~  echo "$i MISSING"
~ fi
done


People tend to treat the config as so scary to change it's easier to
just keep their private one that showed some sign of working at some point.

- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAklAOfIACgkQOjLpvpq7dMotkQCfVaPZqAhBfp6B9oj/Wt9vng2R
EL8An2QNQRKJJYZzr58YPPtFhaPxKoeu
=FVzC
-----END PGP SIGNATURE-----



More information about the openmoko-kernel mailing list