staging: brcm80211: fix makefiles for building drivers in kernel
The makefiles used obj-m which forcibly builds the drivers as modules ignoring the Kconfig setting. This has been fixed in this patch. Cc: devel@linuxdriverproject.org Cc: linux-wireless@vger.kernel.org Reviewed-by: Roland Vossen <rvossen@broadcom.com> Reviewed-by: Henry Ptasinski <henryp@broadcom.com> Reviewed-by: Brett Rudley <brudley@broadcom.com> Signed-off-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
755f609cb3
commit
0c250c0eea
2 changed files with 2 additions and 2 deletions
|
@ -52,5 +52,5 @@ DHDOFILES = \
|
||||||
bcmsdh_sdmmc.o \
|
bcmsdh_sdmmc.o \
|
||||||
bcmsdh_sdmmc_linux.o
|
bcmsdh_sdmmc_linux.o
|
||||||
|
|
||||||
obj-m += brcmfmac.o
|
obj-$(CONFIG_BRCMFMAC) += brcmfmac.o
|
||||||
brcmfmac-objs += $(DHDOFILES)
|
brcmfmac-objs += $(DHDOFILES)
|
||||||
|
|
|
@ -55,5 +55,5 @@ BRCMSMAC_OFILES := \
|
||||||
|
|
||||||
MODULEPFX := brcmsmac
|
MODULEPFX := brcmsmac
|
||||||
|
|
||||||
obj-m += $(MODULEPFX).o
|
obj-$(CONFIG_BRCMSMAC) += $(MODULEPFX).o
|
||||||
$(MODULEPFX)-objs = $(BRCMSMAC_OFILES)
|
$(MODULEPFX)-objs = $(BRCMSMAC_OFILES)
|
||||||
|
|
Loading…
Add table
Reference in a new issue