compat-wireless: do not use broad export on makefiles
authorLuis R. Rodriguez <mcgrof@frijolero.org>
Sat, 31 Mar 2012 02:53:32 +0000 (19:53 -0700)
committerLuis R. Rodriguez <mcgrof@frijolero.org>
Sat, 31 Mar 2012 09:19:53 +0000 (02:19 -0700)
commitdb133a867d4c0ee31211c62205b5c5287acb30a9
tree9bbf1c8bd582e87d39e990b05f37aca762f4b227
parent98cc995c6f16acad3aeb536691623ce17b62755c
compat-wireless: do not use broad export on makefiles

This inspired by Johannes' patch on compat which does the
same thing.

perl -pi -ne 's|^(\s*)CONFIG|$1export CONFIG|' config.mk

And then we also address the autoconf generation.

We shave off compile time by more than 1/2:

Before:
real 0m34.034s
user 0m33.760s
sys 0m10.580s

After:
real 0m16.617s
user 0m22.290s
sys 0m6.180s

This was against 2.6.38.

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
config.mk
scripts/gen-compat-autoconf.sh