From: Tracey Dent Date: Sat, 2 Oct 2010 16:37:58 +0000 (-0400) Subject: Staging: rtl8187se: Makefile: cleaned up Makefile cflag lines X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=7f1746fecdee03279a47ad75e689b6fefe368e67;p=openwrt%2Fstaging%2Fblogic.git Staging: rtl8187se: 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/rtl8187se/Makefile b/drivers/staging/rtl8187se/Makefile index e6adf91cdd2c..adc3849621d6 100644 --- a/drivers/staging/rtl8187se/Makefile +++ b/drivers/staging/rtl8187se/Makefile @@ -4,17 +4,17 @@ #EXTRA_CFLAGS += -O2 #CC = gcc -EXTRA_CFLAGS += -DSW_ANTE -EXTRA_CFLAGS += -DTX_TRACK -EXTRA_CFLAGS += -DHIGH_POWER -EXTRA_CFLAGS += -DSW_DIG -EXTRA_CFLAGS += -DRATE_ADAPT +ccflags-y := -DSW_ANTE +ccflags-y += -DTX_TRACK +ccflags-y += -DHIGH_POWER +ccflags-y += -DSW_DIG +ccflags-y += -DRATE_ADAPT #enable it for legacy power save, disable it for leisure power save -EXTRA_CFLAGS += -DENABLE_LPS +ccflags-y += -DENABLE_LPS -#EXTRA_CFLAGS += -mhard-float -DCONFIG_FORCE_HARD_FLOAT=y +#ccflags-y := -mhard-float -DCONFIG_FORCE_HARD_FLOAT=y r8187se-objs := \ r8180_core.o \