diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2008-02-10 16:52:10 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-02-29 15:37:21 -0500 |
commit | c1aa3dc7acc6b97a6251f9d000494569d57fddca (patch) | |
tree | 8a1e3cc1773a5ef4401081ed9537f01b81cd9845 /drivers/net/wireless/rt2x00/Makefile | |
parent | 8f539276ee97bd174f644fb6c18bb9965b596032 (diff) |
rt2x00: Cleanup Makefile
Simplify the way rt2x00 assigns new objects to the
rt2x00lib module. This saves a few if statements
and overall does this looks much nicer.
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/Makefile')
-rw-r--r-- | drivers/net/wireless/rt2x00/Makefile | 41 |
1 files changed, 16 insertions, 25 deletions
diff --git a/drivers/net/wireless/rt2x00/Makefile b/drivers/net/wireless/rt2x00/Makefile index 757bbc077d93..1087dbcf1a04 100644 --- a/drivers/net/wireless/rt2x00/Makefile +++ b/drivers/net/wireless/rt2x00/Makefile | |||
@@ -1,26 +1,17 @@ | |||
1 | rt2x00lib-objs := rt2x00dev.o rt2x00mac.o rt2x00config.o rt2x00queue.o | 1 | rt2x00lib-y += rt2x00dev.o |
2 | rt2x00lib-y += rt2x00mac.o | ||
3 | rt2x00lib-y += rt2x00config.o | ||
4 | rt2x00lib-y += rt2x00queue.o | ||
5 | rt2x00lib-$(CONFIG_RT2X00_LIB_DEBUGFS) += rt2x00debug.o | ||
6 | rt2x00lib-$(CONFIG_RT2X00_LIB_RFKILL) += rt2x00rfkill.o | ||
7 | rt2x00lib-$(CONFIG_RT2X00_LIB_FIRMWARE) += rt2x00firmware.o | ||
8 | rt2x00lib-$(CONFIG_RT2X00_LIB_LEDS) += rt2x00leds.o | ||
2 | 9 | ||
3 | ifeq ($(CONFIG_RT2X00_LIB_DEBUGFS),y) | 10 | obj-$(CONFIG_RT2X00_LIB) += rt2x00lib.o |
4 | rt2x00lib-objs += rt2x00debug.o | 11 | obj-$(CONFIG_RT2X00_LIB_PCI) += rt2x00pci.o |
5 | endif | 12 | obj-$(CONFIG_RT2X00_LIB_USB) += rt2x00usb.o |
6 | 13 | obj-$(CONFIG_RT2400PCI) += rt2400pci.o | |
7 | ifeq ($(CONFIG_RT2X00_LIB_RFKILL),y) | 14 | obj-$(CONFIG_RT2500PCI) += rt2500pci.o |
8 | rt2x00lib-objs += rt2x00rfkill.o | 15 | obj-$(CONFIG_RT61PCI) += rt61pci.o |
9 | endif | 16 | obj-$(CONFIG_RT2500USB) += rt2500usb.o |
10 | 17 | obj-$(CONFIG_RT73USB) += rt73usb.o | |
11 | ifeq ($(CONFIG_RT2X00_LIB_FIRMWARE),y) | ||
12 | rt2x00lib-objs += rt2x00firmware.o | ||
13 | endif | ||
14 | |||
15 | ifeq ($(CONFIG_RT2X00_LIB_LEDS),y) | ||
16 | rt2x00lib-objs += rt2x00leds.o | ||
17 | endif | ||
18 | |||
19 | obj-$(CONFIG_RT2X00_LIB) += rt2x00lib.o | ||
20 | obj-$(CONFIG_RT2X00_LIB_PCI) += rt2x00pci.o | ||
21 | obj-$(CONFIG_RT2X00_LIB_USB) += rt2x00usb.o | ||
22 | obj-$(CONFIG_RT2400PCI) += rt2400pci.o | ||
23 | obj-$(CONFIG_RT2500PCI) += rt2500pci.o | ||
24 | obj-$(CONFIG_RT61PCI) += rt61pci.o | ||
25 | obj-$(CONFIG_RT2500USB) += rt2500usb.o | ||
26 | obj-$(CONFIG_RT73USB) += rt73usb.o | ||