compat-wireless: driver-select: refactor select_drivers and eliminate redundant selec...
authorSteven Luo <steven@steven676.net>
Mon, 6 Aug 2012 17:52:32 +0000 (10:52 -0700)
committerLuis R. Rodriguez <mcgrof@frijolero.org>
Mon, 6 Aug 2012 17:52:32 +0000 (10:52 -0700)
commita473828b14858b26a4e020170312383ffc939362
tree0a2af833ad4ba3e52f60c3ea94e7664737f6d7d6
parentcdc1bc1e84b356f2ba401ba35ee1057bd2e1f498
compat-wireless: driver-select: refactor select_drivers and eliminate redundant select_driver

These two functions are functionally identical when passed one argument,
and we'd also like to have the ability to modify Makefiles other than
drivers/net/wireless/Makefile the same way.  Introduce a
select_drivers_from_makefile which takes a Makefile argument, and
implement select_drivers using it.  Convert existing users of
select_driver to select_drivers, and remove the redundant function.

Signed-off-by: Steven Luo <steven@steven676.net>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
scripts/driver-select