-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathMakefile.android
158 lines (151 loc) · 6.37 KB
/
Makefile.android
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
EXTRA_CFLAGS = -I/root/Desktop/OMAP_PANDA/OMAP_JELLYBEAN_AOSP/OMAP_KERNEL/omap/drivers/net/wireless/WIFI_MT7601_1031/include
EXTRA_CFLAGS += -I/root/Desktop/OMAP_PANDA/OMAP_JELLYBEAN_AOSP/OMAP_KERNEL/omap/drivers/net/wireless/WIFI_MT7601_1031/ate/include
obj-$(CONFIG_MT7601_STA) += mt7601sta.o
mt7601sta-objs += os/linux/rt_profile.o
mt7601sta-objs += sta/assoc.o
mt7601sta-objs += sta/auth.o
mt7601sta-objs += sta/auth_rsp.o
mt7601sta-objs += sta/sync.o
mt7601sta-objs += sta/sanity.o
mt7601sta-objs += sta/rtmp_data.o
mt7601sta-objs += sta/connect.o
mt7601sta-objs += sta/wpa.o
mt7601sta-objs += sta/sta_cfg.o
mt7601sta-objs += common/crypt_md5.o
mt7601sta-objs += common/crypt_sha2.o
mt7601sta-objs += common/crypt_hmac.o
mt7601sta-objs += common/crypt_aes.o
mt7601sta-objs += common/crypt_arc4.o
mt7601sta-objs += common/mlme.o
mt7601sta-objs += common/cmm_wep.o
mt7601sta-objs += common/action.o
mt7601sta-objs += common/cmm_data.o
mt7601sta-objs += common/rtmp_init.o
mt7601sta-objs += common/rtmp_init_inf.o
mt7601sta-objs += common/cmm_tkip.o
mt7601sta-objs += common/cmm_aes.o
mt7601sta-objs += common/cmm_sync.o
mt7601sta-objs += common/eeprom.o
mt7601sta-objs += common/cmm_sanity.o
mt7601sta-objs += common/cmm_info.o
mt7601sta-objs += common/cmm_cfg.o
mt7601sta-objs += common/cmm_wpa.o
mt7601sta-objs += common/cmm_radar.o
mt7601sta-objs += common/spectrum.o
mt7601sta-objs += common/rtmp_timer.o
mt7601sta-objs += common/rt_channel.o
mt7601sta-objs += common/cmm_profile.o
mt7601sta-objs += common/cmm_asic.o
mt7601sta-objs += common/scan.o
mt7601sta-objs += common/cmm_cmd.o
mt7601sta-objs += common/uapsd.o
mt7601sta-objs += common/ps.o
mt7601sta-objs += rate_ctrl/ra_ctrl.o
mt7601sta-objs += rate_ctrl/alg_legacy.o
mt7601sta-objs += rate_ctrl/alg_ags.o
mt7601sta-objs += chips/rtmp_chip.o
mt7601sta-objs += common/txpower.o
mt7601sta-objs += mac/rtmp_mac.o
mt7601sta-objs += mgmt/mgmt_hw.o
mt7601sta-objs += mgmt/mgmt_entrytb.o
mt7601sta-objs += phy/rtmp_phy.o
mt7601sta-objs += phy/rlt_phy.o
mt7601sta-objs += phy/rlt_rf.o
mt7601sta-objs += common/ba_action.o
mt7601sta-objs += mgmt/mgmt_ht.o
mt7601sta-objs += common/wsc.o
mt7601sta-objs += common/wsc_tlv.o
mt7601sta-objs += common/crypt_biginteger.o
mt7601sta-objs += common/crypt_dh.o
mt7601sta-objs += common/wsc_v2.o
mt7601sta-objs += common/rt_os_util.o
mt7601sta-objs += os/linux/sta_ioctl.o
mt7601sta-objs += os/linux/rt_linux.o
mt7601sta-objs += os/linux/rt_main_dev.o
mt7601sta-objs += common/cmm_wpa_adhoc.o
mt7601sta-objs += common/rt_led.o
mt7601sta-objs += ate/common/rt_ate.o
mt7601sta-objs += ate/common/rt_qa.o
mt7601sta-objs += common/cmm_mac_usb.o
mt7601sta-objs += common/cmm_data_usb.o
mt7601sta-objs += common/rtusb_io.o
mt7601sta-objs += common/rtusb_data.o
mt7601sta-objs += common/rtusb_bulk.o
mt7601sta-objs += os/linux/rt_usb.o
mt7601sta-objs += common/ee_prom.o
mt7601sta-objs += common/ee_efuse.o
mt7601sta-objs += mcu/rtmp_and.o
mt7601sta-objs += mcu/rtmp_mcu.o
mt7601sta-objs += mcu/rtmp_M51.o
mt7601sta-objs += common/rt_rf.o
mt7601sta-objs += chips/mt7601.o
mt7601sta-objs += mac/ral_omac.o
mt7601sta-objs += ate/chips/mt7601_ate.o
mt7601sta-objs += ate/common/ate_usb.o
mt7601sta-objs += os/linux/rt_usb_util.o
mt7601sta-objs += os/linux/usb_main_dev.o
mt7601sta-objs += common/rtusb_dev_id.o
mt7601sta-objs += common/frq_cal.o
mt7601sta-objs += os/linux/cfg80211.o
mt7601sta-objs += os/linux/cfg80211drv.o
#mt7601sta-objs += os/linux/cfg80211_inf.o
mt7601sta-objs += common/p2p_inf.o
mt7601sta-objs += ap/ap_mbss.o
mt7601sta-objs += ap/ap.o
mt7601sta-objs += ap/ap_assoc.o
mt7601sta-objs += ap/ap_auth.o
mt7601sta-objs += ap/ap_connect.o
mt7601sta-objs += ap/ap_mlme.o
mt7601sta-objs += ap/ap_sanity.o
mt7601sta-objs += ap/ap_sync.o
mt7601sta-objs += ap/ap_wpa.o
mt7601sta-objs += ap/ap_data.o
mt7601sta-objs += ap/ap_autoChSel.o
mt7601sta-objs += ap/ap_qload.o
mt7601sta-objs += sta/p2pcli.o
mt7601sta-objs += sta/p2pcli_ctrl.o
mt7601sta-objs += sta/p2pcli_sync.o
mt7601sta-objs += sta/p2pcli_auth.o
mt7601sta-objs += sta/p2pcli_assoc.o
mt7601sta-objs += common/cmm_mat.o
mt7601sta-objs += common/cmm_mat_iparp.o
mt7601sta-objs += common/cmm_mat_pppoe.o
mt7601sta-objs += common/cmm_mat_ipv6.o
mt7601sta-objs += common/p2p_dbg.o
mt7601sta-objs += common/p2p_cfg.o
mt7601sta-objs += common/p2p.o
mt7601sta-objs += common/p2p_packet.o
mt7601sta-objs += common/p2p_action.o
mt7601sta-objs += common/p2p_table.o
mt7601sta-objs += common/p2p_ctrl.o
mt7601sta-objs += common/p2p_disc_mng.o
mt7601sta-objs += common/p2p_nego_mng.o
mt7601sta-objs += common/p2p_dbg.o
mt7601sta-objs += common/p2p.o
mt7601sta-objs += common/p2p_packet.o
mt7601sta-objs += common/p2p_action.o
mt7601sta-objs += common/p2p_table.o
mt7601sta-objs += common/p2p_ctrl.o
mt7601sta-objs += common/p2p_disc_mng.o
mt7601sta-objs += common/p2p_nego_mng.o
mt7601sta-objs += common/wsc.o
mt7601sta-objs += common/wsc_tlv.o
mt7601sta-objs += common/wsc_ufd.o
mt7601sta-objs += common/crypt_biginteger.o
mt7601sta-objs += common/crypt_dh.o
mt7601sta-objs += os/linux/ap_ioctl.o
EXTRA_CFLAGS += -DAGGREGATION_SUPPORT -DPIGGYBACK_SUPPORT -DWMM_SUPPORT -DLINUX -Wall -Wstrict-prototypes -Wno-trigraphs -DSYSTEM_LOG_SUPPORT -DRESOURCE_PRE_ALLOC -DCONFIG_STA_SUPPORT -DSCAN_SUPPORT -DADHOC_WPA2PSK_SUPPORT -DWPA_SUPPLICANT_SUPPORT -DNATIVE_WPA_SUPPLICANT_SUPPORT -DWSC_STA_SUPPORT -DWSC_V2_SUPPORT -DRALINK_ATE -DCONFIG_RT2880_ATE_CMD_NEW -DRALINK_QA -DDOT11_N_SUPPORT -DSTATS_COUNT_SUPPORT -DRELEASE_EXCLUDE -DLED_CONTROL_SUPPORT -DMT7601U -DMT7601 -DRLT_MAC -DRLT_RF -DRTMP_MAC_USB -DRTMP_USB_SUPPORT -DRTMP_TIMER_TASK_SUPPORT -DRX_DMA_SCATTER -DVCORECAL_SUPPORT -DRTMP_EFUSE_SUPPORT -DNEW_MBSSID_MODE -DRTMP_INTERNAL_TX_ALC -DCONFIG_ANDES_SUPPORT -DCONFIG_RX_CSO_SUPPORT -DRTMP_FREQ_CALIBRATION_SUPPORT #-DHDR_TRANS_SUPPORT
EXTRA_CFLAGS += -DRT_CFG80211_SUPPORT -DEXT_BUILD_CHANNEL_LIST #-DRFKILL_HW_SUPPORT
EXTRA_CFLAGS += -DUSB_BULK_BUF_ALIGMENT -DALIGMENT_BULKAGGRE_SIZE=3 -DBUF_ALIGMENT_RINGSIZE=2
EXTRA_CFLAGS += -DANDROID_SUPPORT
EXTRA_CFLAGS += -DP2P_SUPPORT -DAPCLI_SUPPORT -DMAT_SUPPORT -DAP_SCAN_SUPPORT -DSCAN_SUPPORT -DP2P_APCLI_SUPPORT -DCONFIG_AP_SUPPORT -DCONFIG_APSTA_MIXED_SUPPORT -DUAPSD_SUPPORT -DMBSS_SUPPORT -DIAPP_SUPPORT -DDOT1X_SUPPORT -DWSC_AP_SUPPORT -DWSC_STA_SUPPORT
# config for STA mode
ifeq ($(CONFIG_RT5370V2_STA_WSC),y)
EXTRA_CFLAGS += -DWSC_STA_SUPPORT
ifeq ($(CONFIG_RT5370V2_STA_WSC_V2),y)
EXTRA_CFLAGS += -DWSC_V2_SUPPORT
endif
ifeq ($(CONFIG_RT5370V2_STA_WSC_LED),y)
EXTRA_CFLAGS += -DWSC_LED_SUPPORT
endif
endif