Skip to content

Commit

Permalink
staging: brcm80211: fix makefiles for building drivers in kernel
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Arend van Spriel authored and Greg Kroah-Hartman committed May 17, 2011
1 parent 755f609 commit 0c250c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/staging/brcm80211/brcmfmac/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,5 @@ DHDOFILES = \
bcmsdh_sdmmc.o \
bcmsdh_sdmmc_linux.o

obj-m += brcmfmac.o
obj-$(CONFIG_BRCMFMAC) += brcmfmac.o
brcmfmac-objs += $(DHDOFILES)
2 changes: 1 addition & 1 deletion drivers/staging/brcm80211/brcmsmac/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,5 @@ BRCMSMAC_OFILES := \

MODULEPFX := brcmsmac

obj-m += $(MODULEPFX).o
obj-$(CONFIG_BRCMSMAC) += $(MODULEPFX).o
$(MODULEPFX)-objs = $(BRCMSMAC_OFILES)

0 comments on commit 0c250c0

Please sign in to comment.