1 2#EXTRA_CFLAGS += -DCONFIG_IEEE80211_NOWEP=y 3#EXTRA_CFLAGS += -std=gnu89 4#EXTRA_CFLAGS += -O2 5#CC = gcc 6 7ccflags-y := -DSW_ANTE 8ccflags-y += -DTX_TRACK 9ccflags-y += -DHIGH_POWER 10ccflags-y += -DSW_DIG 11ccflags-y += -DRATE_ADAPT 12 13#enable it for legacy power save, disable it for leisure power save 14ccflags-y += -DENABLE_LPS 15 16 17#ccflags-y := -mhard-float -DCONFIG_FORCE_HARD_FLOAT=y 18 19r8187se-y := \ 20 r8180_core.o \ 21 r8180_wx.o \ 22 r8180_rtl8225z2.o \ 23 r8185b_init.o \ 24 r8180_dm.o \ 25 ieee80211/dot11d.o \ 26 ieee80211/ieee80211_softmac.o \ 27 ieee80211/ieee80211_rx.o \ 28 ieee80211/ieee80211_tx.o \ 29 ieee80211/ieee80211_wx.o \ 30 ieee80211/ieee80211_module.o \ 31 ieee80211/ieee80211_softmac_wx.o \ 32 ieee80211/ieee80211_crypt.o \ 33 ieee80211/ieee80211_crypt_tkip.o \ 34 ieee80211/ieee80211_crypt_ccmp.o \ 35 ieee80211/ieee80211_crypt_wep.o 36 37obj-$(CONFIG_R8187SE) += r8187se.o 38 39