From: Tracey Dent Date: Sat, 2 Oct 2010 16:37:57 +0000 (-0400) Subject: Staging: rt2870: Makefile: cleaned up Makefile cflag lines X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=23e59c47b51103a90f582603209380dbf3271751;p=openwrt%2Fstaging%2Fblogic.git Staging: rt2870: Makefile: cleaned up Makefile cflag lines Changed to use the proper ccflags-y option Signed-off-by: Tracey Dent Acked-by: Sam Ravnborg Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rt2870/Makefile b/drivers/staging/rt2870/Makefile index 523e7e738d00..7b29493eb40e 100644 --- a/drivers/staging/rt2870/Makefile +++ b/drivers/staging/rt2870/Makefile @@ -2,10 +2,10 @@ obj-$(CONFIG_RT2870) += rt2870sta.o # TODO: all of these should be removed -EXTRA_CFLAGS += -DLINUX -DAGGREGATION_SUPPORT -DPIGGYBACK_SUPPORT -DWMM_SUPPORT -EXTRA_CFLAGS += -DRTMP_MAC_USB -DRTMP_USB_SUPPORT -DRT2870 -DRTMP_TIMER_TASK_SUPPORT -EXTRA_CFLAGS += -DRTMP_RF_RW_SUPPORT -DRTMP_EFUSE_SUPPORT -DRT30xx -DRT3070 -EXTRA_CFLAGS += -DDBG +ccflags-y := -DLINUX -DAGGREGATION_SUPPORT -DPIGGYBACK_SUPPORT -DWMM_SUPPORT +ccflags-y += -DRTMP_MAC_USB -DRTMP_USB_SUPPORT -DRT2870 -DRTMP_TIMER_TASK_SUPPORT +ccflags-y += -DRTMP_RF_RW_SUPPORT -DRTMP_EFUSE_SUPPORT -DRT30xx -DRT3070 +ccflags-y += -DDBG rt2870sta-objs := \ common/crypt_md5.o \