diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-04-11 16:15:28 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-04-12 15:29:04 -0400 |
commit | 8e8d4ff051672d4a2939e7d6925c4acd234b0220 (patch) | |
tree | 0805908119169c615631697a4377a072ead5e8c0 /drivers/net/wireless/brcm80211/brcmsmac | |
parent | 31ed07dc1e83b7926ce8ee2215ea21599a215990 (diff) | |
download | op-kernel-dev-8e8d4ff051672d4a2939e7d6925c4acd234b0220.zip op-kernel-dev-8e8d4ff051672d4a2939e7d6925c4acd234b0220.tar.gz |
brcm80211: simplify makefiles
This came up during my backporting work but it seems
perfectly appropriate for the kernel as well.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Acked-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/brcm80211/brcmsmac')
-rw-r--r-- | drivers/net/wireless/brcm80211/brcmsmac/Makefile | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmsmac/Makefile b/drivers/net/wireless/brcm80211/brcmsmac/Makefile index cba19d8..32464ac 100644 --- a/drivers/net/wireless/brcm80211/brcmsmac/Makefile +++ b/drivers/net/wireless/brcm80211/brcmsmac/Makefile @@ -21,7 +21,7 @@ ccflags-y := \ -Idrivers/net/wireless/brcm80211/brcmsmac/phy \ -Idrivers/net/wireless/brcm80211/include -BRCMSMAC_OFILES := \ +brcmsmac-y := \ mac80211_if.o \ ucode_loader.o \ ampdu.o \ @@ -43,11 +43,6 @@ BRCMSMAC_OFILES := \ brcms_trace_events.o \ debug.o -ifdef CONFIG_BCMA_DRIVER_GPIO -BRCMSMAC_OFILES += led.o -endif +brcmsmac-$(CONFIG_BCMA_DRIVER_GPIO) += led.o -MODULEPFX := brcmsmac - -obj-$(CONFIG_BRCMSMAC) += $(MODULEPFX).o -$(MODULEPFX)-objs = $(BRCMSMAC_OFILES) +obj-$(CONFIG_BRCMSMAC) += brcmsmac.o |