Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[linux-2.6] / drivers / staging / rtl8192su / Makefile
1 NIC_SELECT = RTL8192SU
2
3 EXTRA_CFLAGS += -std=gnu89
4 EXTRA_CFLAGS += -O2
5 EXTRA_CFLAGS += -mhard-float -DCONFIG_FORCE_HARD_FLOAT=y
6
7 EXTRA_CFLAGS += -DJACKSON_NEW_RX
8 EXTRA_CFLAGS += -DTHOMAS_BEACON -DTHOMAS_TURBO
9 #EXTRA_CFLAGS += -DUSE_ONE_PIPE
10 EXTRA_CFLAGS += -DENABLE_DOT11D
11
12 EXTRA_CFLAGS += -DRTL8192SU
13 EXTRA_CFLAGS += -DRTL8190_Download_Firmware_From_Header=1
14 EXTRA_CFLAGS += -DRTL8192S_PREPARE_FOR_NORMAL_RELEASE
15 EXTRA_CFLAGS += -DRTL8192SU_DISABLE_IQK=1
16
17 #EXTRA_CFLAGS += -DEEPROM_OLD_FORMAT_SUPPORT
18
19 #EXTRA_CFLAGS += -DUSB_RX_AGGREGATION_SUPPORT=0
20 #EXTRA_CFLAGS += -DUSB_TX_DRIVER_AGGREGATION_ENABLE=0
21 #EXTRA_CFLAGS += -DRTL8192SU_DISABLE_CCK_RATE=0
22 EXTRA_CFLAGS += -DRTL8192S_DISABLE_FW_DM=0
23 EXTRA_CFLAGS += -DDISABLE_BB_RF=0
24 EXTRA_CFLAGS += -DRTL8192SU_USE_PARAM_TXPWR=0
25 EXTRA_CFLAGS += -DRTL8192SU_FPGA_UNSPECIFIED_NETWORK=0
26 #EXTRA_CFLAGS += -DRTL8192SU_FPGA_2MAC_VERIFICATION #=0
27 EXTRA_CFLAGS += -DRTL8192SU_ASIC_VERIFICATION
28 EXTRA_CFLAGS += -DRTL8192SU_USB_PHY_TEST=0
29
30 #EXTRA_CFLAGS += -DMUTIPLE_BULK_OUT
31 EXTRA_CFLAGS += -DCONFIG_RTL8192_PM
32
33 r8192s_usb-objs :=              \
34         r8180_93cx6.o           \
35         r8192U_wx.o             \
36         r8192S_phy.o            \
37         r8192S_rtl6052.o        \
38         r8192S_rtl8225.o        \
39         r819xU_cmdpkt.o         \
40         r8192U_dm.o             \
41         r8192SU_HWImg.o         \
42         r8192S_firmware.o       \
43         r8192S_Efuse.o          \
44         r8192U_core.o           \
45         r8192U_pm.o
46
47 ieee80211-rsl-objs :=                   \
48         ieee80211/ieee80211_rx.o        \
49         ieee80211/ieee80211_softmac.o   \
50         ieee80211/ieee80211_tx.o        \
51         ieee80211/ieee80211_wx.o        \
52         ieee80211/ieee80211_module.o    \
53         ieee80211/ieee80211_softmac_wx.o\
54         ieee80211/rtl819x_HTProc.o      \
55         ieee80211/rtl819x_TSProc.o      \
56         ieee80211/rtl819x_BAProc.o      \
57         ieee80211/dot11d.o
58
59 obj-$(CONFIG_RTL8192SU) += r8192s_usb.o
60 obj-$(CONFIG_RTL8192SU) += ieee80211-rsl.o
61 obj-$(CONFIG_RTL8192SU) += ieee80211/ieee80211_crypt.o
62 obj-$(CONFIG_RTL8192SU) += ieee80211/ieee80211_crypt_tkip.o
63 obj-$(CONFIG_RTL8192SU) += ieee80211/ieee80211_crypt_ccmp.o
64 obj-$(CONFIG_RTL8192SU) += ieee80211/ieee80211_crypt_wep.o
65
66