diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2010-09-23 16:28:53 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-09-23 16:28:53 -0700 |
commit | 449c6741b69cb745214f1b62e188852f28c79332 (patch) | |
tree | 365ca7955fcdfa085b6fcec699bce7b2047ec4e3 /drivers/staging/brcm80211/Makefile | |
parent | 7832167b694e545fc2f010ddaafc223ab7d17725 (diff) | |
download | op-kernel-dev-449c6741b69cb745214f1b62e188852f28c79332.zip op-kernel-dev-449c6741b69cb745214f1b62e188852f28c79332.tar.gz |
Staging: brcm80211: clean up makefile cflag lines
Change to use the proper ccflags-y option, as well as splitting the
options out one-per-line so that we can see what is needed to be cleaned
up and removed over time.
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Cc: jason <jason@lakedaemon.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/brcm80211/Makefile')
-rw-r--r-- | drivers/staging/brcm80211/Makefile | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/drivers/staging/brcm80211/Makefile b/drivers/staging/brcm80211/Makefile index 907e088..31922e3 100644 --- a/drivers/staging/brcm80211/Makefile +++ b/drivers/staging/brcm80211/Makefile @@ -15,7 +15,23 @@ # OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN # CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -EXTRA_CFLAGS := -DBCMDBG -DWLC_HIGH -DSTA -DWME -DWL11N -DDBAND -DBCMDMA32 -DBCMNVRAMR -Idrivers/staging/brcm80211/sys -Idrivers/staging/brcm80211/phy -Idrivers/staging/brcm80211/util -Idrivers/staging/brcm80211/include -Wall -Wstrict-prototypes -Werror -Wmissing-prototypes +ccflags-y := \ + -DBCMDBG \ + -DWLC_HIGH \ + -DSTA \ + -DWME \ + -DWL11N \ + -DDBAND \ + -DBCMDMA32 \ + -DBCMNVRAMR \ + -Idrivers/staging/brcm80211/sys \ + -Idrivers/staging/brcm80211/phy \ + -Idrivers/staging/brcm80211/util \ + -Idrivers/staging/brcm80211/include \ + -Wall \ + -Wstrict-prototypes \ + -Werror \ + -Wmissing-prototypes PCI_CFLAGS := -DWLC_LOW @@ -59,7 +75,7 @@ obj-m += $(MODULEPFX).o # PCI driver ifeq ($(CONFIG_BRCM80211_PCI),y) -EXTRA_CFLAGS += $(PCI_CFLAGS) +ccflags-y += $(PCI_CFLAGS) $(MODULEPFX)-objs = $(BRCM80211_OFILES) $(PCIFILES) endif |