diff --git a/drivers/staging/rtl8187se/Makefile b/drivers/staging/rtl8187se/Makefile index e6adf91cdd2c9e6af3912f6a56af85cd1458df23..adc3849621d65d9aa912c9a88750ac42136f884d 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 \