aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTracey Dent <tdent48227@gmail.com>2010-10-02 12:38:03 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-10-05 14:56:38 -0400
commit8138d41632a551a65fd02f9c883e4e37f63d596f (patch)
tree9c32962b244beac31059d782d69da737e37c226f
parent9c36d724c1fc36200d4a79e2159e0bc4c4740c36 (diff)
Staging: rtl8192u: ieee80211: 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>
-rw-r--r--drivers/staging/rtl8192u/ieee80211/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/staging/rtl8192u/ieee80211/Makefile b/drivers/staging/rtl8192u/ieee80211/Makefile
index 71ca5d93a1b7..45704f85ef0b 100644
--- a/drivers/staging/rtl8192u/ieee80211/Makefile
+++ b/drivers/staging/rtl8192u/ieee80211/Makefile
@@ -5,22 +5,22 @@ MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/$(NIC_SELECT)
5 5
6CC = gcc 6CC = gcc
7ifneq ($(shell uname -r|cut -d. -f1,2), 2.4) 7ifneq ($(shell uname -r|cut -d. -f1,2), 2.4)
8EXTRA_CFLAGS += -I$(TOPDIR)/drivers/net/wireless 8ccflags-y := -I$(TOPDIR)/drivers/net/wireless
9EXTRA_CFLAGS += -O2 9ccflags-y += -O2
10EXTRA_CFLAGS += -DJACKSON_NEW_8187 -DJACKSON_NEW_RX 10ccflags-y += -DJACKSON_NEW_8187 -DJACKSON_NEW_RX
11 11
12#it will fail to compile in suse linux enterprise 10 sp2. This flag is to solve this problem. 12#it will fail to compile in suse linux enterprise 10 sp2. This flag is to solve this problem.
13ifeq ($(shell uname -r | cut -d. -f1,2,3,4), 2.6.16.60-0) 13ifeq ($(shell uname -r | cut -d. -f1,2,3,4), 2.6.16.60-0)
14EXTRA_CFLAGS += -DOPENSUSE_SLED 14ccflags-y := -DOPENSUSE_SLED
15endif 15endif
16 16
17ifeq ($(NIC_SELECT),RTL8192U) 17ifeq ($(NIC_SELECT),RTL8192U)
18#EXTRA_CFLAGS += -DUSB_TX_DRIVER_AGGREGATION_ENABLE 18#ccflags-y := -DUSB_TX_DRIVER_AGGREGATION_ENABLE
19#EXTRA_CFLAGS += -DUSB_RX_AGGREGATION_SUPPORT 19#ccflags-y := -DUSB_RX_AGGREGATION_SUPPORT
20endif 20endif
21#EXTRA_CFLAGS += -DJOHN_NOCPY 21#ccflags-y := -DJOHN_NOCPY
22#flags to enable or disble 80211D feature 22#flags to enable or disble 80211D feature
23EXTRA_CFLAGS += -DENABLE_DOT11D 23ccflags-y += -DENABLE_DOT11D
24ieee80211-rsl-objs := ieee80211_rx.o \ 24ieee80211-rsl-objs := ieee80211_rx.o \
25 ieee80211_softmac.o \ 25 ieee80211_softmac.o \
26 ieee80211_tx.o \ 26 ieee80211_tx.o \