Commit 8e8d4ff0 authored by Johannes Berg's avatar Johannes Berg Committed by John W. Linville

brcm80211: simplify makefiles

This came up during my backporting work but it seems
perfectly appropriate for the kernel as well.
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Acked-by: default avatarArend van Spriel <arend@broadcom.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 31ed07dc
...@@ -21,7 +21,7 @@ ccflags-y := \ ...@@ -21,7 +21,7 @@ ccflags-y := \
-Idrivers/net/wireless/brcm80211/brcmsmac/phy \ -Idrivers/net/wireless/brcm80211/brcmsmac/phy \
-Idrivers/net/wireless/brcm80211/include -Idrivers/net/wireless/brcm80211/include
BRCMSMAC_OFILES := \ brcmsmac-y := \
mac80211_if.o \ mac80211_if.o \
ucode_loader.o \ ucode_loader.o \
ampdu.o \ ampdu.o \
...@@ -43,11 +43,6 @@ BRCMSMAC_OFILES := \ ...@@ -43,11 +43,6 @@ BRCMSMAC_OFILES := \
brcms_trace_events.o \ brcms_trace_events.o \
debug.o debug.o
ifdef CONFIG_BCMA_DRIVER_GPIO brcmsmac-$(CONFIG_BCMA_DRIVER_GPIO) += led.o
BRCMSMAC_OFILES += led.o
endif
MODULEPFX := brcmsmac obj-$(CONFIG_BRCMSMAC) += brcmsmac.o
obj-$(CONFIG_BRCMSMAC) += $(MODULEPFX).o
$(MODULEPFX)-objs = $(BRCMSMAC_OFILES)
...@@ -19,11 +19,5 @@ ccflags-y := \ ...@@ -19,11 +19,5 @@ ccflags-y := \
-Idrivers/net/wireless/brcm80211/brcmutil \ -Idrivers/net/wireless/brcm80211/brcmutil \
-Idrivers/net/wireless/brcm80211/include -Idrivers/net/wireless/brcm80211/include
BRCMUTIL_OFILES := \ obj-$(CONFIG_BRCMUTIL) += brcmutil.o
utils.o \ brcmutil-objs = utils.o d11.o
d11.o
MODULEPFX := brcmutil
obj-$(CONFIG_BRCMUTIL) += $(MODULEPFX).o
$(MODULEPFX)-objs = $(BRCMUTIL_OFILES)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment