Increase speed of compat-wireless build - CONFIG_COMPAT_WIRELESS_* changes
authorFelix Fietkau <nbd@openwrt.org>
Thu, 20 Aug 2009 17:13:50 +0000 (10:13 -0700)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Thu, 20 Aug 2009 17:15:38 +0000 (10:15 -0700)
commit9c12a114881e8e60745a1cedc049b180ef9c3b77
tree1d626124baf96f4a1d939ac7edf2a47a528b7bfd
parent913593a1663d80c93ea65a4f702f5b564a46f09f
Increase speed of compat-wireless build - CONFIG_COMPAT_WIRELESS_* changes

$(shell) calls are pretty expensive in makefiles, avoid so many
calls by doing them only once to set the CONFIG_COMPAT_WIRELESS_*
variables and then using these to check the kernel version later in
config.mk

This speeds up the compat-wireless build process.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
config.mk