From: Tracey Dent Date: Sat, 2 Oct 2010 16:37:56 +0000 (-0400) Subject: Staging: rt2860: Makefile: cleaned up Makefile cflag lines X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=72aba90f17c72d7515972ad9b9bdbea7c46caa6c;p=openwrt%2Fstaging%2Fblogic.git Staging: rt2860: 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/rt2860/Makefile b/drivers/staging/rt2860/Makefile index 23ae07f00ead..d816ddb5502b 100644 --- a/drivers/staging/rt2860/Makefile +++ b/drivers/staging/rt2860/Makefile @@ -1,10 +1,10 @@ obj-$(CONFIG_RT2860) += rt2860sta.o # TODO: all of these should be removed -EXTRA_CFLAGS += -DLINUX -DAGGREGATION_SUPPORT -DPIGGYBACK_SUPPORT -DWMM_SUPPORT -EXTRA_CFLAGS += -DRTMP_MAC_PCI -DRTMP_PCI_SUPPORT -DRT2860 -EXTRA_CFLAGS += -DRTMP_RF_RW_SUPPORT -DRTMP_EFUSE_SUPPORT -DRT30xx -DRT3090 -EXTRA_CFLAGS += -DDBG +ccflags-y := -DLINUX -DAGGREGATION_SUPPORT -DPIGGYBACK_SUPPORT -DWMM_SUPPORT +ccflags-y += -DRTMP_MAC_PCI -DRTMP_PCI_SUPPORT -DRT2860 +ccflags-y += -DRTMP_RF_RW_SUPPORT -DRTMP_EFUSE_SUPPORT -DRT30xx -DRT3090 +ccflags-y += -DDBG rt2860sta-objs := \ common/crypt_md5.o \