aboutsummaryrefslogtreecommitdiffstats
path: root/package/rt2x00/src/Makefile
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2008-03-09 10:55:19 +0000
committerFlorian Fainelli <florian@openwrt.org>2008-03-09 10:55:19 +0000
commitbcb62bc5e1b696d5e1e160d503228d5338319d7d (patch)
tree5c186939d554f7059ba415f8961de8250f4e7282 /package/rt2x00/src/Makefile
parentee37782f9a7e3cc288ee4e02c5fd68736019ff2f (diff)
downloadmaster-187ad058-bcb62bc5e1b696d5e1e160d503228d5338319d7d.tar.gz
master-187ad058-bcb62bc5e1b696d5e1e160d503228d5338319d7d.tar.bz2
master-187ad058-bcb62bc5e1b696d5e1e160d503228d5338319d7d.zip
Fix rt2x00 compilation and upgrade to the current mainline version (2.6.24)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10573 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/rt2x00/src/Makefile')
-rw-r--r--package/rt2x00/src/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/package/rt2x00/src/Makefile b/package/rt2x00/src/Makefile
index 97a88311ce..cc4d1dc405 100644
--- a/package/rt2x00/src/Makefile
+++ b/package/rt2x00/src/Makefile
@@ -62,7 +62,7 @@ ifeq ($(CONFIG_RT2400PCI),y)
obj-m += rt2400pci.o
ifeq ($(CONFIG_RT2400PCI_RFKILL),y)
rt2x00lib-objs += rt2x00rfkill.o
- CFLAGS += -DCONFIG_RT2X00_LIB_RFKILL
+ EXTRA_CFLAGS += -DCONFIG_RT2X00_LIB_RFKILL
endif
endif
@@ -70,7 +70,7 @@ ifeq ($(CONFIG_RT2500PCI),y)
obj-m += rt2500pci.o
ifeq ($(CONFIG_RT2500PCI_RFKILL),y)
rt2x00lib-objs += rt2x00rfkill.o
- CFLAGS += -DCONFIG_RT2X00_LIB_RFKILL
+ EXTRA_CFLAGS += -DCONFIG_RT2X00_LIB_RFKILL
endif
endif
@@ -79,17 +79,17 @@ ifeq ($(CONFIG_RT2500USB),y)
endif
ifeq ($(CONFIG_RT61PCI),y)
- CFLAGS += -DCONFIG_RT2X00_LIB_FIRMWARE
+ EXTRA_CFLAGS += -DCONFIG_RT2X00_LIB_FIRMWARE
rt2x00lib-objs += rt2x00firmware.o
obj-m += rt61pci.o
ifeq ($(CONFIG_RT61PCI_RFKILL),y)
rt2x00lib-objs += rt2x00rfkill.o
- CFLAGS += -DCONFIG_RT2X00_LIB_RFKILL
+ EXTRA_CFLAGS += -DCONFIG_RT2X00_LIB_RFKILL
endif
endif
ifeq ($(CONFIG_RT73USB),y)
- CFLAGS += -DCONFIG_RT2X00_LIB_FIRMWARE
+ EXTRA_CFLAGS += -DCONFIG_RT2X00_LIB_FIRMWARE
rt2x00lib-objs += rt2x00firmware.o
obj-m += rt73usb.o
endif
@@ -97,7 +97,7 @@ endif
endif
MAKEFLAGS += --no-print-directory
-CFLAGS := -include $(SUBDIRS)/rt2x00_compat.h $(CFLAGS)
+EXTRA_CFLAGS := -include $(SUBDIRS)/rt2x00_compat.h $(CFLAGS)
all: default