aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/wlags49_h2
diff options
context:
space:
mode:
authorTracey Dent <tdent48227@gmail.com>2010-10-02 12:38:08 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-10-05 14:56:38 -0400
commit76831125b2e49bfc4b0e0ed9c77015b8d1529a06 (patch)
tree9232db3bd4f94a0de81ea27976e2888b5ad8ff9c /drivers/staging/wlags49_h2
parent8e03fc590b5a65ccee59e2624a84bec681fd56a6 (diff)
Staging: wlags49_h2: Makefile: cleaned up Makefile cflag lines
Changed to use the proper ccflags-y option Signed-off-by: Tracey Dent <tdent48227@gmail.com> Acked-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/wlags49_h2')
-rw-r--r--drivers/staging/wlags49_h2/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/staging/wlags49_h2/Makefile b/drivers/staging/wlags49_h2/Makefile
index 25d0a8a9ce3..e604ebd5aeb 100644
--- a/drivers/staging/wlags49_h2/Makefile
+++ b/drivers/staging/wlags49_h2/Makefile
@@ -12,8 +12,8 @@
12# If you want to build AP support (untested), comment out -DSTA_ONLY 12# If you want to build AP support (untested), comment out -DSTA_ONLY
13 13
14INSTALLDIR := /lib/modules/$(shell uname -r)/kernel/drivers/net/wireless 14INSTALLDIR := /lib/modules/$(shell uname -r)/kernel/drivers/net/wireless
15EXTRA_CFLAGS += -I$(KERNELDIR)/include 15ccflags-y := -I$(KERNELDIR)/include
16EXTRA_CFLAGS += -I$(src) \ 16ccflags-y += -I$(src) \
17 -DBUS_PCMCIA \ 17 -DBUS_PCMCIA \
18 -DUSE_WPA \ 18 -DUSE_WPA \
19 -DUSE_WEXT \ 19 -DUSE_WEXT \
@@ -25,16 +25,16 @@ EXTRA_CFLAGS += -I$(src) \
25# -DUSE_UIL \ 25# -DUSE_UIL \
26# -DUSE_PROFILE \ 26# -DUSE_PROFILE \
27 27
28ifeq ($(findstring HERMES25,$(EXTRA_CFLAGS)),) 28ifeq ($(findstring HERMES25,$(ccflags-y)),)
29WLNAME := wlags49_h2_cs 29WLNAME := wlags49_h2_cs
30$(WLNAME)-y := sta_h2.o 30$(WLNAME)-y := sta_h2.o
31ifeq ($(findstring STA_ONLY,$(EXTRA_CFLAGS)),) 31ifeq ($(findstring STA_ONLY,$(ccflags-y)),)
32$(WLNAME)-y += ap_h2.o 32$(WLNAME)-y += ap_h2.o
33endif 33endif
34else 34else
35WLNAME=wlags49_h25_cs 35WLNAME=wlags49_h25_cs
36$(WLNAME)-y := sta_h25.o 36$(WLNAME)-y := sta_h25.o
37ifeq ($(findstring STA_ONLY,$(EXTRA_CFLAGS)),) 37ifeq ($(findstring STA_ONLY,$(ccflags-y)),)
38$(WLNAME)-y += ap_h25.o 38$(WLNAME)-y += ap_h25.o
39endif 39endif
40endif 40endif