Guest User

Untitled

a guest
Nov 28th, 2018
73
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. EXTRA_CFLAGS += $(USER_EXTRA_CFLAGS)
  2. EXTRA_CFLAGS += -O1
  3. #EXTRA_CFLAGS += -O3
  4. #EXTRA_CFLAGS += -Wall
  5. #EXTRA_CFLAGS += -Wextra
  6. #EXTRA_CFLAGS += -Werror
  7. #EXTRA_CFLAGS += -pedantic
  8. #EXTRA_CFLAGS += -Wshadow -Wpointer-arith -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
  9.  
  10. EXTRA_CFLAGS += -Wno-unused-variable
  11. EXTRA_CFLAGS += -Wno-unused-value
  12. EXTRA_CFLAGS += -Wno-unused-label
  13. EXTRA_CFLAGS += -Wno-unused-parameter
  14. EXTRA_CFLAGS += -Wno-unused-function
  15. EXTRA_CFLAGS += -Wno-unused
  16. EXTRA_CFLAGS += -Wno-ignored-qualifiers
  17. EXTRA_CFLAGS += -Wno-misleading-indentation
  18. EXTRA_CFLAGS += -Wno-implicit-function-declaration
  19.  
  20. #EXTRA_CFLAGS += -Wno-uninitialized
  21.  
  22. EXTRA_CFLAGS += -I$(src)/include
  23.  
  24. EXTRA_LDFLAGS += --strip-debug
  25.  
  26. CONFIG_AUTOCFG_CP = n
  27.  
  28. ########################## WIFI IC ############################
  29. CONFIG_MULTIDRV = n
  30. CONFIG_RTL8192C = n
  31. CONFIG_RTL8192D = n
  32. CONFIG_RTL8723A = n
  33. CONFIG_RTL8188E = n
  34. CONFIG_RTL8812A = n
  35. CONFIG_RTL8821A = y
  36. CONFIG_RTL8192E = n
  37. CONFIG_RTL8723B = n
  38. ######################### Interface ###########################
  39. CONFIG_USB_HCI = y
  40. CONFIG_PCI_HCI = n
  41. CONFIG_SDIO_HCI = n
  42. CONFIG_GSPI_HCI = n
  43. ########################## Features ###########################
  44. CONFIG_MP_INCLUDED = y
  45. CONFIG_POWER_SAVING = y
  46. CONFIG_USB_AUTOSUSPEND = n
  47. CONFIG_HW_PWRP_DETECTION = n
  48. CONFIG_WIFI_TEST = n
  49. CONFIG_BT_COEXIST = y
  50. CONFIG_RTL8192CU_REDEFINE_1X1 = n
  51. CONFIG_INTEL_WIDI = n
  52. CONFIG_WAPI_SUPPORT = n
  53. CONFIG_EFUSE_CONFIG_FILE = y
  54. CONFIG_EXT_CLK = n
  55. CONFIG_TRAFFIC_PROTECT = y
  56. CONFIG_LOAD_PHY_PARA_FROM_FILE = y
  57. CONFIG_CALIBRATE_TX_POWER_BY_REGULATORY = n
  58. CONFIG_CALIBRATE_TX_POWER_TO_MAX = n
  59. CONFIG_RTW_ADAPTIVITY_EN = disable
  60. CONFIG_RTW_ADAPTIVITY_MODE = normal
  61. CONFIG_SKIP_SIGNAL_SCALE_MAPPING = n
  62. CONFIG_80211W = n
  63. CONFIG_REDUCE_TX_CPU_LOADING = n
  64. CONFIG_BR_EXT = y
  65. CONFIG_ANTENNA_DIVERSITY = n
  66. CONFIG_TDLS = n
  67. ######################## Wake On Lan ##########################
  68. CONFIG_WOWLAN = y
  69. CONFIG_GPIO_WAKEUP = y
  70. CONFIG_WAKEUP_GPIO_IDX = default
  71. CONFIG_PNO_SUPPORT = n
  72. CONFIG_PNO_SET_DEBUG = n
  73. CONFIG_AP_WOWLAN = y
  74. ######### Notify SDIO Host Keep Power During Syspend ##########
  75. CONFIG_RTW_SDIO_PM_KEEP_POWER = y
  76. ###################### Platform Related #######################
  77. CONFIG_PLATFORM_I386_PC = n
  78. CONFIG_PLATFORM_ANDROID_X86 = n
  79. CONFIG_PLATFORM_ANDROID_INTEL_X86 = n
  80. CONFIG_PLATFORM_JB_X86 = n
  81. CONFIG_PLATFORM_ARM_S3C2K4 = n
  82. CONFIG_PLATFORM_ARM_PXA2XX = n
  83. CONFIG_PLATFORM_ARM_S3C6K4 = n
  84. CONFIG_PLATFORM_MIPS_RMI = n
  85. CONFIG_PLATFORM_RTD2880B = n
  86. CONFIG_PLATFORM_MIPS_AR9132 = n
  87. CONFIG_PLATFORM_RTK_DMP = n
  88. CONFIG_PLATFORM_MIPS_PLM = n
  89. CONFIG_PLATFORM_MSTAR389 = n
  90. CONFIG_PLATFORM_MT53XX = n
  91. CONFIG_PLATFORM_ARM_MX51_241H = n
  92. CONFIG_PLATFORM_FS_MX61 = n
  93. CONFIG_PLATFORM_ACTIONS_ATJ227X = n
  94. CONFIG_PLATFORM_TEGRA3_CARDHU = n
  95. CONFIG_PLATFORM_TEGRA4_DALMORE = n
  96. CONFIG_PLATFORM_ARM_TCC8900 = n
  97. CONFIG_PLATFORM_ARM_TCC8920 = n
  98. CONFIG_PLATFORM_ARM_TCC8920_JB42 = n
  99. CONFIG_PLATFORM_ARM_RK2818 = n
  100. CONFIG_PLATFORM_ARM_RK3066 = n
  101. CONFIG_PLATFORM_ARM_RK3188 = y
  102. CONFIG_PLATFORM_ARM_URBETTER = n
  103. CONFIG_PLATFORM_ARM_TI_PANDA = n
  104. CONFIG_PLATFORM_MIPS_JZ4760 = n
  105. CONFIG_PLATFORM_DMP_PHILIPS = n
  106. CONFIG_PLATFORM_MSTAR_TITANIA12 = n
  107. CONFIG_PLATFORM_MSTAR = n
  108. CONFIG_PLATFORM_SZEBOOK = n
  109. CONFIG_PLATFORM_ARM_SUNxI = n
  110. CONFIG_PLATFORM_ARM_SUN6I = n
  111. CONFIG_PLATFORM_ARM_SUN7I = n
  112. CONFIG_PLATFORM_ARM_SUN8I = n
  113. CONFIG_PLATFORM_ACTIONS_ATM702X = n
  114. CONFIG_PLATFORM_ACTIONS_ATV5201 = n
  115. CONFIG_PLATFORM_ACTIONS_ATM705X = n
  116. CONFIG_PLATFORM_ARM_RTD299X = n
  117. CONFIG_PLATFORM_ARM_SPREADTRUM_6820 = n
  118. CONFIG_PLATFORM_ARM_SPREADTRUM_8810 = n
  119. CONFIG_PLATFORM_ARM_WMT = n
  120. CONFIG_PLATFORM_TI_DM365 = n
  121. CONFIG_PLATFORM_MOZART = n
  122. CONFIG_PLATFORM_RTK119X = n
  123. CONFIG_PLATFORM_NOVATEK_NT72668 = n
  124. ###############################################################
  125.  
  126. CONFIG_DRVEXT_MODULE = n
  127.  
  128. export TopDIR ?= $(shell pwd)
  129.  
  130. ########### COMMON  #################################
  131. ifeq ($(CONFIG_GSPI_HCI), y)
  132. HCI_NAME = gspi
  133. endif
  134.  
  135. ifeq ($(CONFIG_SDIO_HCI), y)
  136. HCI_NAME = sdio
  137. endif
  138.  
  139. ifeq ($(CONFIG_USB_HCI), y)
  140. HCI_NAME = usb
  141. endif
  142.  
  143. ifeq ($(CONFIG_PCI_HCI), y)
  144. HCI_NAME = pci
  145. endif
  146.  
  147.  
  148. _OS_INTFS_FILES :=  os_dep/osdep_service.o \
  149.             os_dep/linux/os_intfs.o \
  150.             os_dep/linux/$(HCI_NAME)_intf.o \
  151.             os_dep/linux/$(HCI_NAME)_ops_linux.o \
  152.             os_dep/linux/ioctl_linux.o \
  153.             os_dep/linux/xmit_linux.o \
  154.             os_dep/linux/mlme_linux.o \
  155.             os_dep/linux/recv_linux.o \
  156.             os_dep/linux/ioctl_cfg80211.o \
  157.             os_dep/linux/rtw_cfgvendor.o \
  158.             os_dep/linux/wifi_regd.o \
  159.             os_dep/linux/rtw_android.o \
  160.             os_dep/linux/rtw_proc.o
  161.  
  162. ifeq ($(CONFIG_SDIO_HCI), y)
  163. _OS_INTFS_FILES += os_dep/linux/custom_gpio_linux.o
  164. _OS_INTFS_FILES += os_dep/linux/$(HCI_NAME)_ops_linux.o
  165. endif
  166.  
  167. ifeq ($(CONFIG_GSPI_HCI), y)
  168. _OS_INTFS_FILES += os_dep/linux/custom_gpio_linux.o
  169. _OS_INTFS_FILES += os_dep/linux/$(HCI_NAME)_ops_linux.o
  170. endif
  171.  
  172.  
  173. _HAL_INTFS_FILES := hal/hal_intf.o \
  174.             hal/hal_com.o \
  175.             hal/hal_com_phycfg.o \
  176.             hal/hal_phy.o \
  177.             hal/hal_dm.o \
  178.             hal/hal_btcoex.o \
  179.             hal/hal_hci/hal_$(HCI_NAME).o \
  180.             hal/led/hal_$(HCI_NAME)_led.o
  181.  
  182. _OUTSRC_FILES := hal/OUTSRC/phydm_debug.o   \
  183.         hal/OUTSRC/phydm_AntDiv.o\
  184.         hal/OUTSRC/phydm_AntDect.o\
  185.         hal/OUTSRC/phydm_interface.o\
  186.         hal/OUTSRC/phydm_HWConfig.o\
  187.         hal/OUTSRC/phydm.o\
  188.         hal/OUTSRC/HalPhyRf.o\
  189.         hal/OUTSRC/phydm_EdcaTurboCheck.o\
  190.         hal/OUTSRC/phydm_DIG.o\
  191.         hal/OUTSRC/phydm_PathDiv.o\
  192.         hal/OUTSRC/phydm_RaInfo.o\
  193.         hal/OUTSRC/phydm_DynamicBBPowerSaving.o\
  194.         hal/OUTSRC/phydm_PowerTracking.o\
  195.         hal/OUTSRC/phydm_DynamicTxPower.o\
  196.         hal/OUTSRC/PhyDM_Adaptivity.o\
  197.         hal/OUTSRC/phydm_CfoTracking.o\
  198.         hal/OUTSRC/phydm_NoiseMonitor.o\
  199.         hal/OUTSRC/phydm_ACS.o
  200.  
  201. EXTRA_CFLAGS += -I$(src)/platform
  202. _PLATFORM_FILES := platform/platform_ops.o
  203.  
  204. ifeq ($(CONFIG_BT_COEXIST), y)
  205. EXTRA_CFLAGS += -I$(src)/hal/OUTSRC-BTCoexist
  206. _OUTSRC_FILES += hal/OUTSRC-BTCoexist/HalBtc8188c2Ant.o \
  207.                 hal/OUTSRC-BTCoexist/HalBtc8192d2Ant.o \
  208.                 hal/OUTSRC-BTCoexist/HalBtc8192e1Ant.o \
  209.                 hal/OUTSRC-BTCoexist/HalBtc8192e2Ant.o \
  210.                 hal/OUTSRC-BTCoexist/HalBtc8723a1Ant.o \
  211.                 hal/OUTSRC-BTCoexist/HalBtc8723a2Ant.o \
  212.                 hal/OUTSRC-BTCoexist/HalBtc8723b1Ant.o \
  213.                 hal/OUTSRC-BTCoexist/HalBtc8723b2Ant.o \
  214.                 hal/OUTSRC-BTCoexist/HalBtc8812a1Ant.o \
  215.                 hal/OUTSRC-BTCoexist/HalBtc8812a2Ant.o \
  216.                 hal/OUTSRC-BTCoexist/HalBtc8821a1Ant.o \
  217.                 hal/OUTSRC-BTCoexist/HalBtc8821a2Ant.o \
  218.                 hal/OUTSRC-BTCoexist/HalBtc8821aCsr2Ant.o
  219. endif
  220.  
  221. ########### HAL_RTL8192C #################################
  222.  
  223. ifeq ($(CONFIG_RTL8192C), y)
  224. RTL871X = rtl8192c
  225. ifeq ($(CONFIG_USB_HCI), y)
  226. MODULE_NAME = 8192cu
  227. endif
  228. ifeq ($(CONFIG_PCI_HCI), y)
  229. MODULE_NAME = 8192ce
  230. endif
  231. EXTRA_CFLAGS += -DCONFIG_RTL8192C
  232.  
  233. _HAL_INTFS_FILES += \
  234.     hal/$(RTL871X)/$(RTL871X)_sreset.o \
  235.     hal/$(RTL871X)/$(RTL871X)_xmit.o
  236.  
  237. _HAL_INTFS_FILES += hal/$(RTL871X)/$(RTL871X)_hal_init.o \
  238.             hal/$(RTL871X)/$(RTL871X)_phycfg.o \
  239.             hal/$(RTL871X)/$(RTL871X)_rf6052.o \
  240.             hal/$(RTL871X)/$(RTL871X)_dm.o \
  241.             hal/$(RTL871X)/$(RTL871X)_rxdesc.o \
  242.             hal/$(RTL871X)/$(RTL871X)_cmd.o \
  243.             hal/$(RTL871X)/$(HCI_NAME)/$(HCI_NAME)_halinit.o \
  244.             hal/$(RTL871X)/$(HCI_NAME)/rtl$(MODULE_NAME)_led.o \
  245.             hal/$(RTL871X)/$(HCI_NAME)/rtl$(MODULE_NAME)_xmit.o \
  246.             hal/$(RTL871X)/$(HCI_NAME)/rtl$(MODULE_NAME)_recv.o
  247.  
  248. _HAL_INTFS_FILES += hal/$(RTL871X)/$(HCI_NAME)/$(HCI_NAME)_ops_linux.o
  249.  
  250.  
  251. ifeq ($(CONFIG_MP_INCLUDED), y)
  252. _HAL_INTFS_FILES += hal/$(RTL871X)/$(RTL871X)_mp.o
  253. endif
  254.  
  255. _OUTSRC_FILES += hal/OUTSRC/$(RTL871X)/phydm_RTL8192C.o\
  256.                                 hal/OUTSRC/$(RTL871X)/HalDMOutSrc8192C_CE.o
  257.  
  258. ifeq ($(CONFIG_USB_HCI), y)
  259. _OUTSRC_FILES += hal/OUTSRC/$(RTL871X)/Hal8192CUFWImg_CE.o  \
  260.                                 hal/OUTSRC/$(RTL871X)/Hal8192CUPHYImg_CE.o  \
  261.                                 hal/OUTSRC/$(RTL871X)/Hal8192CUMACImg_CE.o
  262. endif
  263.  
  264. ifeq ($(CONFIG_PCI_HCI), y)
  265. _OUTSRC_FILES += hal/OUTSRC/$(RTL871X)/Hal8192CEFWImg_CE.o  \
  266.                                 hal/OUTSRC/$(RTL871X)/Hal8192CEPHYImg_CE.o  \
  267.                                 hal/OUTSRC/$(RTL871X)/Hal8192CEMACImg_CE.o
  268. endif
  269.  
  270. endif
  271.  
  272. ########### HAL_RTL8192D #################################
  273. ifeq ($(CONFIG_RTL8192D), y)
  274. RTL871X = rtl8192d
  275. ifeq ($(CONFIG_USB_HCI), y)
  276. MODULE_NAME = 8192du
  277. endif
  278. ifeq ($(CONFIG_PCI_HCI), y)
  279. MODULE_NAME = 8192de
  280. endif
  281. EXTRA_CFLAGS += -DCONFIG_RTL8192D
  282.  
  283. _HAL_INTFS_FILES += \
  284.     hal/$(RTL871X)/$(RTL871X)_xmit.o
  285.  
  286. _HAL_INTFS_FILES += hal/$(RTL871X)/$(RTL871X)_hal_init.o \
  287.             hal/$(RTL871X)/$(RTL871X)_phycfg.o \
  288.             hal/$(RTL871X)/$(RTL871X)_rf6052.o \
  289.             hal/$(RTL871X)/$(RTL871X)_dm.o \
  290.             hal/$(RTL871X)/$(RTL871X)_rxdesc.o \
  291.             hal/$(RTL871X)/$(RTL871X)_cmd.o \
  292.             hal/$(RTL871X)/$(HCI_NAME)/$(HCI_NAME)_halinit.o \
  293.             hal/$(RTL871X)/$(HCI_NAME)/rtl$(MODULE_NAME)_led.o \
  294.             hal/$(RTL871X)/$(HCI_NAME)/rtl$(MODULE_NAME)_xmit.o \
  295.             hal/$(RTL871X)/$(HCI_NAME)/rtl$(MODULE_NAME)_recv.o
  296.  
  297. _HAL_INTFS_FILES += hal/$(RTL871X)/$(HCI_NAME)/$(HCI_NAME)_ops_linux.o
  298.  
  299. ifeq ($(CONFIG_MP_INCLUDED), y)
  300. _HAL_INTFS_FILES += hal/$(RTL871X)/$(RTL871X)_mp.o
  301. endif
  302.  
  303. _OUTSRC_FILES += hal/OUTSRC/$(RTL871X)/phydm_RTL8192D.o\
  304.                                 hal/OUTSRC/$(RTL871X)/HalDMOutSrc8192D_CE.o
  305.  
  306.  
  307. ifeq ($(CONFIG_USB_HCI), y)
  308. _OUTSRC_FILES += hal/OUTSRC/$(RTL871X)/Hal8192DUFWImg_CE.o \
  309.                                 hal/OUTSRC/$(RTL871X)/Hal8192DUPHYImg_CE.o \
  310.                                 hal/OUTSRC/$(RTL871X)/Hal8192DUMACImg_CE.o
  311. endif
  312.  
  313. ifeq ($(CONFIG_PCI_HCI), y)
  314. _OUTSRC_FILES += hal/OUTSRC/$(RTL871X)/Hal8192DEFWImg_CE.o \
  315.                                 hal/OUTSRC/$(RTL871X)/Hal8192DEPHYImg_CE.o \
  316.                                 hal/OUTSRC/$(RTL871X)/Hal8192DEMACImg_CE.o
  317. endif
  318.  
  319. endif
  320.  
  321. ########### HAL_RTL8723A #################################
  322. ifeq ($(CONFIG_RTL8723A), y)
  323.  
  324. RTL871X = rtl8723a
  325. ifeq ($(CONFIG_GSPI_HCI), y)
  326. MODULE_NAME = 8723as
  327. endif
  328. ifeq ($(CONFIG_SDIO_HCI), y)
  329. MODULE_NAME = 8723as
  330. endif
  331. ifeq ($(CONFIG_USB_HCI), y)
  332. MODULE_NAME = 8723au
  333. endif
  334. ifeq ($(CONFIG_PCI_HCI), y)
  335. MODULE_NAME = 8723ae
  336. endif
  337. EXTRA_CFLAGS += -DCONFIG_RTL8723A
  338.  
  339. _HAL_INTFS_FILES += hal/HalPwrSeqCmd.o \
  340.                 hal/$(RTL871X)/Hal8723PwrSeq.o\
  341.                 hal/$(RTL871X)/$(RTL871X)_xmit.o \
  342.                 hal/$(RTL871X)/$(RTL871X)_sreset.o
  343.  
  344. _HAL_INTFS_FILES += hal/$(RTL871X)/$(RTL871X)_hal_init.o \
  345.             hal/$(RTL871X)/$(RTL871X)_phycfg.o \
  346.             hal/$(RTL871X)/$(RTL871X)_rf6052.o \
  347.             hal/$(RTL871X)/$(RTL871X)_dm.o \
  348.             hal/$(RTL871X)/$(RTL871X)_rxdesc.o \
  349.             hal/$(RTL871X)/$(RTL871X)_cmd.o \
  350.             hal/$(RTL871X)/$(HCI_NAME)/$(HCI_NAME)_halinit.o \
  351.             hal/$(RTL871X)/$(HCI_NAME)/rtl$(MODULE_NAME)_led.o \
  352.             hal/$(RTL871X)/$(HCI_NAME)/rtl$(MODULE_NAME)_xmit.o \
  353.             hal/$(RTL871X)/$(HCI_NAME)/rtl$(MODULE_NAME)_recv.o
  354.  
  355. ifeq ($(CONFIG_SDIO_HCI), y)
  356. _HAL_INTFS_FILES += hal/$(RTL871X)/$(HCI_NAME)/$(HCI_NAME)_ops.o
  357. else
  358. ifeq ($(CONFIG_GSPI_HCI), y)
  359. _HAL_INTFS_FILES += hal/$(RTL871X)/$(HCI_NAME)/$(HCI_NAME)_ops.o
  360. else
  361. _HAL_INTFS_FILES += hal/$(RTL871X)/$(HCI_NAME)/$(HCI_NAME)_ops_linux.o
  362. endif
  363. endif
  364.  
  365. ifeq ($(CONFIG_MP_INCLUDED), y)
  366. _HAL_INTFS_FILES += hal/$(RTL871X)/$(RTL871X)_mp.o
  367. endif
  368.  
  369. ifeq ($(CONFIG_GSPI_HCI), y)
  370. _OUTSRC_FILES += hal/OUTSRC/$(RTL871X)/Hal8723SHWImg_CE.o
  371. endif
  372.  
  373. ifeq ($(CONFIG_SDIO_HCI), y)
  374. _OUTSRC_FILES += hal/OUTSRC/$(RTL871X)/Hal8723SHWImg_CE.o
  375. endif
  376.  
  377. ifeq ($(CONFIG_USB_HCI), y)
  378. _OUTSRC_FILES += hal/OUTSRC/$(RTL871X)/Hal8723UHWImg_CE.o
  379. endif
  380.  
  381. ifeq ($(CONFIG_PCI_HCI), y)
  382. _OUTSRC_FILES += hal/OUTSRC/$(RTL871X)/Hal8723EHWImg_CE.o
  383. endif
  384.  
  385. #hal/OUTSRC/$(RTL871X)/HalHWImg8723A_FW.o
  386. _OUTSRC_FILES += hal/OUTSRC/$(RTL871X)/HalHWImg8723A_BB.o\
  387.                                 hal/OUTSRC/$(RTL871X)/HalHWImg8723A_MAC.o\
  388.                                 hal/OUTSRC/$(RTL871X)/HalHWImg8723A_RF.o\
  389.                                 hal/OUTSRC/$(RTL871X)/phydm_RegConfig8723A.o
  390.  
  391. _OUTSRC_FILES += hal/OUTSRC/rtl8192c/HalDMOutSrc8192C_CE.o
  392.  
  393.  
  394. endif
  395.  
  396.  
  397. ########### HAL_RTL8188E #################################
  398. ifeq ($(CONFIG_RTL8188E), y)
  399.  
  400. RTL871X = rtl8188e
  401. ifeq ($(CONFIG_SDIO_HCI), y)
  402. MODULE_NAME = 8189es
  403. endif
  404.  
  405. ifeq ($(CONFIG_GSPI_HCI), y)
  406. MODULE_NAME = 8189es
  407. endif
  408.  
  409. ifeq ($(CONFIG_USB_HCI), y)
  410. MODULE_NAME = 8188eu
  411. endif
  412.  
  413. ifeq ($(CONFIG_PCI_HCI), y)
  414. MODULE_NAME = 8188ee
  415. endif
  416. EXTRA_CFLAGS += -DCONFIG_RTL8188E
  417.  
  418. _HAL_INTFS_FILES += hal/HalPwrSeqCmd.o \
  419.                     hal/$(RTL871X)/Hal8188EPwrSeq.o\
  420.                     hal/$(RTL871X)/$(RTL871X)_xmit.o\
  421.                     hal/$(RTL871X)/$(RTL871X)_sreset.o
  422.  
  423. _HAL_INTFS_FILES += hal/$(RTL871X)/$(RTL871X)_hal_init.o \
  424.             hal/$(RTL871X)/$(RTL871X)_phycfg.o \
  425.             hal/$(RTL871X)/$(RTL871X)_rf6052.o \
  426.             hal/$(RTL871X)/$(RTL871X)_dm.o \
  427.             hal/$(RTL871X)/$(RTL871X)_rxdesc.o \
  428.             hal/$(RTL871X)/$(RTL871X)_cmd.o \
  429.             hal/$(RTL871X)/$(HCI_NAME)/$(HCI_NAME)_halinit.o \
  430.             hal/$(RTL871X)/$(HCI_NAME)/rtl$(MODULE_NAME)_led.o \
  431.             hal/$(RTL871X)/$(HCI_NAME)/rtl$(MODULE_NAME)_xmit.o \
  432.             hal/$(RTL871X)/$(HCI_NAME)/rtl$(MODULE_NAME)_recv.o
  433.  
  434. ifeq ($(CONFIG_SDIO_HCI), y)
  435. _HAL_INTFS_FILES += hal/$(RTL871X)/$(HCI_NAME)/$(HCI_NAME)_ops.o
  436. else
  437. ifeq ($(CONFIG_GSPI_HCI), y)
  438. _HAL_INTFS_FILES += hal/$(RTL871X)/$(HCI_NAME)/$(HCI_NAME)_ops.o
  439. else
  440. _HAL_INTFS_FILES += hal/$(RTL871X)/$(HCI_NAME)/$(HCI_NAME)_ops_linux.o
  441. endif
  442. endif
  443.  
  444. ifeq ($(CONFIG_MP_INCLUDED), y)
  445. _HAL_INTFS_FILES += hal/$(RTL871X)/$(RTL871X)_mp.o
  446. endif
  447.  
  448. ifeq ($(CONFIG_USB_HCI), y)
  449. _HAL_INTFS_FILES +=hal/efuse/$(RTL871X)/HalEfuseMask8188E_USB.o
  450. endif
  451. ifeq ($(CONFIG_PCI_HCI), y)
  452. _HAL_INTFS_FILES +=hal/efuse/$(RTL871X)/HalEfuseMask8188E_PCIE.o
  453. endif
  454. ifeq ($(CONFIG_SDIO_HCI), y)
  455. _HAL_INTFS_FILES +=hal/efuse/$(RTL871X)/HalEfuseMask8188E_SDIO.o
  456. endif
  457.  
  458. #hal/OUTSRC/$(RTL871X)/Hal8188EFWImg_CE.o
  459. _OUTSRC_FILES += hal/OUTSRC/$(RTL871X)/HalHWImg8188E_MAC.o\
  460.         hal/OUTSRC/$(RTL871X)/HalHWImg8188E_BB.o\
  461.         hal/OUTSRC/$(RTL871X)/HalHWImg8188E_RF.o\
  462.         hal/OUTSRC/$(RTL871X)/HalHWImg8188E_FW.o\
  463.         hal/OUTSRC/$(RTL871X)/HalPhyRf_8188e.o\
  464.         hal/OUTSRC/$(RTL871X)/phydm_RegConfig8188E.o\
  465.         hal/OUTSRC/$(RTL871X)/Hal8188ERateAdaptive.o\
  466.         hal/OUTSRC/$(RTL871X)/phydm_RTL8188E.o
  467.  
  468. endif
  469.  
  470. ########### HAL_RTL8192E #################################
  471. ifeq ($(CONFIG_RTL8192E), y)
  472.  
  473. RTL871X = rtl8192e
  474. ifeq ($(CONFIG_SDIO_HCI), y)
  475. MODULE_NAME = 8192es
  476. endif
  477.  
  478. ifeq ($(CONFIG_USB_HCI), y)
  479. MODULE_NAME = 8192eu
  480. endif
  481.  
  482. ifeq ($(CONFIG_PCI_HCI), y)
  483. MODULE_NAME = 8192ee
  484. endif
  485. EXTRA_CFLAGS += -DCONFIG_RTL8192E
  486. _HAL_INTFS_FILES += hal/HalPwrSeqCmd.o \
  487.                     hal/$(RTL871X)/Hal8192EPwrSeq.o\
  488.                     hal/$(RTL871X)/$(RTL871X)_xmit.o\
  489.                     hal/$(RTL871X)/$(RTL871X)_sreset.o
  490.  
  491. _HAL_INTFS_FILES += hal/$(RTL871X)/$(RTL871X)_hal_init.o \
  492.             hal/$(RTL871X)/$(RTL871X)_phycfg.o \
  493.             hal/$(RTL871X)/$(RTL871X)_rf6052.o \
  494.             hal/$(RTL871X)/$(RTL871X)_dm.o \
  495.             hal/$(RTL871X)/$(RTL871X)_rxdesc.o \
  496.             hal/$(RTL871X)/$(RTL871X)_cmd.o \
  497.             hal/$(RTL871X)/$(HCI_NAME)/$(HCI_NAME)_halinit.o \
  498.             hal/$(RTL871X)/$(HCI_NAME)/rtl$(MODULE_NAME)_led.o \
  499.             hal/$(RTL871X)/$(HCI_NAME)/rtl$(MODULE_NAME)_xmit.o \
  500.             hal/$(RTL871X)/$(HCI_NAME)/rtl$(MODULE_NAME)_recv.o
  501.  
  502. ifeq ($(CONFIG_SDIO_HCI), y)
  503. _HAL_INTFS_FILES += hal/$(RTL871X)/$(HCI_NAME)/$(HCI_NAME)_ops.o
  504. else
  505. ifeq ($(CONFIG_GSPI_HCI), y)
  506. _HAL_INTFS_FILES += hal/$(RTL871X)/$(HCI_NAME)/$(HCI_NAME)_ops.o
  507. else
  508. _HAL_INTFS_FILES += hal/$(RTL871X)/$(HCI_NAME)/$(HCI_NAME)_ops_linux.o
  509. endif
  510. endif
  511.  
  512. ifeq ($(CONFIG_MP_INCLUDED), y)
  513. _HAL_INTFS_FILES += hal/$(RTL871X)/$(RTL871X)_mp.o
  514. endif
  515.  
  516. ifeq ($(CONFIG_USB_HCI), y)
  517. _HAL_INTFS_FILES +=hal/efuse/$(RTL871X)/HalEfuseMask8192E_USB.o
  518. endif
  519. ifeq ($(CONFIG_PCI_HCI), y)
  520. _HAL_INTFS_FILES +=hal/efuse/$(RTL871X)/HalEfuseMask8192E_PCIE.o
  521. endif
  522.  
  523. #hal/OUTSRC/$(RTL871X)/HalHWImg8188E_FW.o
  524. _OUTSRC_FILES += hal/OUTSRC/$(RTL871X)/HalHWImg8192E_MAC.o\
  525.         hal/OUTSRC/$(RTL871X)/HalHWImg8192E_BB.o\
  526.         hal/OUTSRC/$(RTL871X)/HalHWImg8192E_RF.o\
  527.         hal/OUTSRC/$(RTL871X)/HalHWImg8192E_FW.o\
  528.         hal/OUTSRC/$(RTL871X)/HalPhyRf_8192e.o\
  529.         hal/OUTSRC/$(RTL871X)/phydm_RegConfig8192E.o\
  530.         hal/OUTSRC/$(RTL871X)/phydm_RTL8192E.o
  531.  
  532. endif
  533.  
  534. ########### HAL_RTL8812A_RTL8821A #################################
  535.  
  536. ifneq ($(CONFIG_RTL8812A)_$(CONFIG_RTL8821A), n_n)
  537.  
  538. RTL871X = rtl8812a
  539. ifeq ($(CONFIG_USB_HCI), y)
  540. MODULE_NAME = 8812au
  541. endif
  542. ifeq ($(CONFIG_PCI_HCI), y)
  543. MODULE_NAME = 8812ae
  544. endif
  545. ifeq ($(CONFIG_SDIO_HCI), y)
  546. MODULE_NAME = 8812as
  547. endif
  548.  
  549. _HAL_INTFS_FILES +=  hal/HalPwrSeqCmd.o \
  550.                     hal/$(RTL871X)/Hal8812PwrSeq.o \
  551.                     hal/$(RTL871X)/Hal8821APwrSeq.o\
  552.                     hal/$(RTL871X)/$(RTL871X)_xmit.o\
  553.                     hal/$(RTL871X)/$(RTL871X)_sreset.o
  554.  
  555. _HAL_INTFS_FILES += hal/$(RTL871X)/$(RTL871X)_hal_init.o \
  556.             hal/$(RTL871X)/$(RTL871X)_phycfg.o \
  557.             hal/$(RTL871X)/$(RTL871X)_rf6052.o \
  558.             hal/$(RTL871X)/$(RTL871X)_dm.o \
  559.             hal/$(RTL871X)/$(RTL871X)_rxdesc.o \
  560.             hal/$(RTL871X)/$(RTL871X)_cmd.o \
  561.             hal/$(RTL871X)/$(HCI_NAME)/$(HCI_NAME)_halinit.o \
  562.             hal/$(RTL871X)/$(HCI_NAME)/rtl$(MODULE_NAME)_led.o \
  563.             hal/$(RTL871X)/$(HCI_NAME)/rtl$(MODULE_NAME)_xmit.o \
  564.             hal/$(RTL871X)/$(HCI_NAME)/rtl$(MODULE_NAME)_recv.o
  565.  
  566. ifeq ($(CONFIG_SDIO_HCI), y)
  567. _HAL_INTFS_FILES += hal/$(RTL871X)/$(HCI_NAME)/$(HCI_NAME)_ops.o
  568. else
  569. ifeq ($(CONFIG_GSPI_HCI), y)
  570. _HAL_INTFS_FILES += hal/$(RTL871X)/$(HCI_NAME)/$(HCI_NAME)_ops.o
  571. else
  572. _HAL_INTFS_FILES += hal/$(RTL871X)/$(HCI_NAME)/$(HCI_NAME)_ops_linux.o
  573. endif
  574. endif
  575.  
  576. ifeq ($(CONFIG_MP_INCLUDED), y)
  577. _HAL_INTFS_FILES += hal/$(RTL871X)/$(RTL871X)_mp.o
  578. endif
  579.  
  580. ifeq ($(CONFIG_RTL8812A), y)
  581. ifeq ($(CONFIG_USB_HCI), y)
  582. _HAL_INTFS_FILES +=hal/efuse/$(RTL871X)/HalEfuseMask8812A_USB.o
  583. endif
  584. ifeq ($(CONFIG_PCI_HCI), y)
  585. _HAL_INTFS_FILES +=hal/efuse/$(RTL871X)/HalEfuseMask8812A_PCIE.o
  586. endif
  587. endif
  588. ifeq ($(CONFIG_RTL8821A), y)
  589. ifeq ($(CONFIG_USB_HCI), y)
  590. _HAL_INTFS_FILES +=hal/efuse/$(RTL871X)/HalEfuseMask8821A_USB.o
  591. endif
  592. ifeq ($(CONFIG_PCI_HCI), y)
  593. _HAL_INTFS_FILES +=hal/efuse/$(RTL871X)/HalEfuseMask8821A_PCIE.o
  594. endif
  595. endif
  596.  
  597. ifeq ($(CONFIG_RTL8812A), y)
  598. EXTRA_CFLAGS += -DCONFIG_RTL8812A
  599. _OUTSRC_FILES += hal/OUTSRC/$(RTL871X)/HalHWImg8812A_FW.o\
  600.         hal/OUTSRC/$(RTL871X)/HalHWImg8812A_MAC.o\
  601.         hal/OUTSRC/$(RTL871X)/HalHWImg8812A_BB.o\
  602.         hal/OUTSRC/$(RTL871X)/HalHWImg8812A_RF.o\
  603.         hal/OUTSRC/$(RTL871X)/HalPhyRf_8812A.o\
  604.         hal/OUTSRC/$(RTL871X)/phydm_RegConfig8812A.o\
  605.         hal/OUTSRC/$(RTL871X)/phydm_RTL8812A.o
  606. endif
  607.  
  608. ifeq ($(CONFIG_RTL8821A), y)
  609.  
  610. ifeq ($(CONFIG_RTL8812A), n)
  611.  
  612. RTL871X = rtl8821a
  613. ifeq ($(CONFIG_USB_HCI), y)
  614. MODULE_NAME := 8821au
  615. endif
  616. ifeq ($(CONFIG_PCI_HCI), y)
  617. MODULE_NAME := 8821ae
  618. endif
  619. ifeq ($(CONFIG_SDIO_HCI), y)
  620. MODULE_NAME := 8821as
  621. endif
  622.  
  623. endif
  624.  
  625. EXTRA_CFLAGS += -DCONFIG_RTL8821A
  626. _OUTSRC_FILES += hal/OUTSRC/rtl8821a/HalHWImg8821A_FW.o\
  627.         hal/OUTSRC/rtl8821a/HalHWImg8821A_MAC.o\
  628.         hal/OUTSRC/rtl8821a/HalHWImg8821A_BB.o\
  629.         hal/OUTSRC/rtl8821a/HalHWImg8821A_RF.o\
  630.         hal/OUTSRC/rtl8812a/HalPhyRf_8812A.o\
  631.         hal/OUTSRC/rtl8821a/HalPhyRf_8821A.o\
  632.         hal/OUTSRC/rtl8821a/phydm_RegConfig8821A.o\
  633.         hal/OUTSRC/rtl8821a/phydm_RTL8821A.o\
  634.         hal/OUTSRC/rtl8821a/PhyDM_IQK_8821A.o
  635. endif
  636.  
  637.  
  638. endif
  639.  
  640. ########### HAL_RTL8723B #################################
  641. ifeq ($(CONFIG_RTL8723B), y)
  642.  
  643. RTL871X = rtl8723b
  644. ifeq ($(CONFIG_USB_HCI), y)
  645. MODULE_NAME = 8723bu
  646. endif
  647. ifeq ($(CONFIG_PCI_HCI), y)
  648. MODULE_NAME = 8723be
  649. endif
  650. ifeq ($(CONFIG_SDIO_HCI), y)
  651. MODULE_NAME = 8723bs
  652. endif
  653.  
  654. EXTRA_CFLAGS += -DCONFIG_RTL8723B
  655.  
  656. _HAL_INTFS_FILES += hal/HalPwrSeqCmd.o \
  657.                     hal/$(RTL871X)/Hal8723BPwrSeq.o\
  658.                     hal/$(RTL871X)/$(RTL871X)_sreset.o
  659.  
  660. _HAL_INTFS_FILES += hal/$(RTL871X)/$(RTL871X)_hal_init.o \
  661.             hal/$(RTL871X)/$(RTL871X)_phycfg.o \
  662.             hal/$(RTL871X)/$(RTL871X)_rf6052.o \
  663.             hal/$(RTL871X)/$(RTL871X)_dm.o \
  664.             hal/$(RTL871X)/$(RTL871X)_rxdesc.o \
  665.             hal/$(RTL871X)/$(RTL871X)_cmd.o \
  666.  
  667.  
  668. _HAL_INTFS_FILES += \
  669.             hal/$(RTL871X)/$(HCI_NAME)/$(HCI_NAME)_halinit.o \
  670.             hal/$(RTL871X)/$(HCI_NAME)/rtl$(MODULE_NAME)_led.o \
  671.             hal/$(RTL871X)/$(HCI_NAME)/rtl$(MODULE_NAME)_xmit.o \
  672.             hal/$(RTL871X)/$(HCI_NAME)/rtl$(MODULE_NAME)_recv.o
  673.  
  674. ifeq ($(CONFIG_PCI_HCI), y)
  675. _HAL_INTFS_FILES += hal/$(RTL871X)/$(HCI_NAME)/$(HCI_NAME)_ops_linux.o
  676. else
  677. _HAL_INTFS_FILES += hal/$(RTL871X)/$(HCI_NAME)/$(HCI_NAME)_ops.o
  678. endif
  679.  
  680. ifeq ($(CONFIG_MP_INCLUDED), y)
  681. _HAL_INTFS_FILES += hal/$(RTL871X)/$(RTL871X)_mp.o
  682. endif
  683.  
  684. ifeq ($(CONFIG_USB_HCI), y)
  685. _HAL_INTFS_FILES +=hal/efuse/$(RTL871X)/HalEfuseMask8723B_USB.o
  686. endif
  687. ifeq ($(CONFIG_PCI_HCI), y)
  688. _HAL_INTFS_FILES +=hal/efuse/$(RTL871X)/HalEfuseMask8723B_PCIE.o
  689. endif
  690.  
  691. _OUTSRC_FILES += hal/OUTSRC/$(RTL871X)/HalHWImg8723B_BB.o\
  692.                                 hal/OUTSRC/$(RTL871X)/HalHWImg8723B_MAC.o\
  693.                                 hal/OUTSRC/$(RTL871X)/HalHWImg8723B_RF.o\
  694.                                 hal/OUTSRC/$(RTL871X)/HalHWImg8723B_FW.o\
  695.                                 hal/OUTSRC/$(RTL871X)/HalHWImg8723B_MP.o\
  696.                                 hal/OUTSRC/$(RTL871X)/phydm_RegConfig8723B.o\
  697.                                 hal/OUTSRC/$(RTL871X)/HalPhyRf_8723B.o\
  698.                                 hal/OUTSRC/$(RTL871X)/phydm_RTL8723B.o
  699.  
  700. endif
  701.  
  702. ########### AUTO_CFG  #################################
  703.  
  704. ifeq ($(CONFIG_AUTOCFG_CP), y)
  705.  
  706. ifeq ($(CONFIG_MULTIDRV), y)
  707. $(shell cp $(TopDIR)/autoconf_multidrv_$(HCI_NAME)_linux.h $(TopDIR)/include/autoconf.h)
  708. else
  709. ifeq ($(CONFIG_RTL8188E)$(CONFIG_SDIO_HCI),yy)
  710. $(shell cp $(TopDIR)/autoconf_rtl8189e_$(HCI_NAME)_linux.h $(TopDIR)/include/autoconf.h)
  711. else
  712. $(shell cp $(TopDIR)/autoconf_$(RTL871X)_$(HCI_NAME)_linux.h $(TopDIR)/include/autoconf.h)
  713. endif
  714. endif
  715.  
  716. endif
  717.  
  718. ########### END OF PATH  #################################
  719.  
  720.  
  721. ifeq ($(CONFIG_USB_HCI), y)
  722. ifeq ($(CONFIG_USB_AUTOSUSPEND), y)
  723. EXTRA_CFLAGS += -DCONFIG_USB_AUTOSUSPEND
  724. endif
  725. endif
  726.  
  727. ifeq ($(CONFIG_MP_INCLUDED), y)
  728. #MODULE_NAME := $(MODULE_NAME)_mp
  729. EXTRA_CFLAGS += -DCONFIG_MP_INCLUDED
  730. endif
  731.  
  732. ifeq ($(CONFIG_POWER_SAVING), y)
  733. EXTRA_CFLAGS += -DCONFIG_POWER_SAVING
  734. endif
  735.  
  736. ifeq ($(CONFIG_HW_PWRP_DETECTION), y)
  737. EXTRA_CFLAGS += -DCONFIG_HW_PWRP_DETECTION
  738. endif
  739.  
  740. ifeq ($(CONFIG_WIFI_TEST), y)
  741. EXTRA_CFLAGS += -DCONFIG_WIFI_TEST
  742. endif
  743.  
  744. ifeq ($(CONFIG_BT_COEXIST), y)
  745. EXTRA_CFLAGS += -DCONFIG_BT_COEXIST
  746. endif
  747.  
  748. ifeq ($(CONFIG_RTL8192CU_REDEFINE_1X1), y)
  749. EXTRA_CFLAGS += -DRTL8192C_RECONFIG_TO_1T1R
  750. endif
  751.  
  752. ifeq ($(CONFIG_INTEL_WIDI), y)
  753. EXTRA_CFLAGS += -DCONFIG_INTEL_WIDI
  754. endif
  755.  
  756. ifeq ($(CONFIG_WAPI_SUPPORT), y)
  757. EXTRA_CFLAGS += -DCONFIG_WAPI_SUPPORT
  758. endif
  759.  
  760.  
  761. ifeq ($(CONFIG_EFUSE_CONFIG_FILE), y)
  762. EXTRA_CFLAGS += -DCONFIG_EFUSE_CONFIG_FILE
  763. ifeq ($(MODULE_NAME), 8189es)
  764. EXTRA_CFLAGS += -DEFUSE_MAP_PATH=\"/system/etc/wifi/wifi_efuse_8189e.map\"
  765. else ifeq ($(MODULE_NAME), 8723bs)
  766. EXTRA_CFLAGS += -DEFUSE_MAP_PATH=\"/system/etc/wifi/wifi_efuse_8723bs.map\"
  767. else
  768. EXTRA_CFLAGS += -DEFUSE_MAP_PATH=\"/system/etc/wifi/wifi_efuse_$(MODULE_NAME).map\"
  769. endif
  770. EXTRA_CFLAGS += -DWIFIMAC_PATH=\"/data/wifimac.txt\"
  771. endif
  772.  
  773. ifeq ($(CONFIG_EXT_CLK), y)
  774. EXTRA_CFLAGS += -DCONFIG_EXT_CLK
  775. endif
  776.  
  777. ifeq ($(CONFIG_TRAFFIC_PROTECT), y)
  778. EXTRA_CFLAGS += -DCONFIG_TRAFFIC_PROTECT
  779. endif
  780.  
  781. ifeq ($(CONFIG_LOAD_PHY_PARA_FROM_FILE), y)
  782. EXTRA_CFLAGS += -DCONFIG_LOAD_PHY_PARA_FROM_FILE
  783. #EXTRA_CFLAGS += -DREALTEK_CONFIG_PATH=\"/lib/firmware/\"
  784. EXTRA_CFLAGS += -DREALTEK_CONFIG_PATH=\"\"
  785. endif
  786.  
  787. ifeq ($(CONFIG_CALIBRATE_TX_POWER_BY_REGULATORY), y)
  788. EXTRA_CFLAGS += -DCONFIG_CALIBRATE_TX_POWER_BY_REGULATORY
  789. endif
  790.  
  791. ifeq ($(CONFIG_CALIBRATE_TX_POWER_TO_MAX), y)
  792. EXTRA_CFLAGS += -DCONFIG_CALIBRATE_TX_POWER_TO_MAX
  793. endif
  794.  
  795. ifeq ($(CONFIG_RTW_ADAPTIVITY_EN), disable)
  796. EXTRA_CFLAGS += -DCONFIG_RTW_ADAPTIVITY_EN=0
  797. else ifeq ($(CONFIG_RTW_ADAPTIVITY_EN), enable)
  798. EXTRA_CFLAGS += -DCONFIG_RTW_ADAPTIVITY_EN=1
  799. endif
  800.  
  801. ifeq ($(CONFIG_RTW_ADAPTIVITY_MODE), normal)
  802. EXTRA_CFLAGS += -DCONFIG_RTW_ADAPTIVITY_MODE=0
  803. else ifeq ($(CONFIG_RTW_ADAPTIVITY_MODE), carrier_sense)
  804. EXTRA_CFLAGS += -DCONFIG_RTW_ADAPTIVITY_MODE=1
  805. endif
  806.  
  807. ifeq ($(CONFIG_SKIP_SIGNAL_SCALE_MAPPING), y)
  808. EXTRA_CFLAGS += -DCONFIG_SKIP_SIGNAL_SCALE_MAPPING
  809. endif
  810.  
  811. ifeq ($(CONFIG_80211W), y)
  812. EXTRA_CFLAGS += -DCONFIG_IEEE80211W
  813. endif
  814.  
  815. ifeq ($(CONFIG_WOWLAN), y)
  816. EXTRA_CFLAGS += -DCONFIG_WOWLAN
  817. ifeq ($(CONFIG_SDIO_HCI), y)
  818. EXTRA_CFLAGS += -DCONFIG_RTW_SDIO_PM_KEEP_POWER
  819. endif
  820. endif
  821.  
  822. ifeq ($(CONFIG_AP_WOWLAN), y)
  823. EXTRA_CFLAGS += -DCONFIG_AP_WOWLAN
  824. ifeq ($(CONFIG_SDIO_HCI), y)
  825. EXTRA_CFLAGS += -DCONFIG_RTW_SDIO_PM_KEEP_POWER
  826. endif
  827. endif
  828.  
  829. ifeq ($(CONFIG_PNO_SUPPORT), y)
  830. EXTRA_CFLAGS += -DCONFIG_PNO_SUPPORT
  831. ifeq ($(CONFIG_PNO_SET_DEBUG), y)
  832. EXTRA_CFLAGS += -DCONFIG_PNO_SET_DEBUG
  833. endif
  834. endif
  835.  
  836. ifeq ($(CONFIG_GPIO_WAKEUP), y)
  837. EXTRA_CFLAGS += -DCONFIG_GPIO_WAKEUP
  838. endif
  839.  
  840. ifneq ($(CONFIG_WAKEUP_GPIO_IDX), default)
  841. EXTRA_CFLAGS += -DWAKEUP_GPIO_IDX=$(CONFIG_WAKEUP_GPIO_IDX)
  842. endif
  843.  
  844. ifeq ($(CONFIG_RTW_SDIO_PM_KEEP_POWER), y)
  845. ifeq ($(CONFIG_SDIO_HCI), y)
  846. EXTRA_CFLAGS += -DCONFIG_RTW_SDIO_PM_KEEP_POWER
  847. endif
  848. endif
  849.  
  850. ifeq ($(CONFIG_REDUCE_TX_CPU_LOADING), y)
  851. EXTRA_CFLAGS += -DCONFIG_REDUCE_TX_CPU_LOADING
  852. endif
  853.  
  854. ifeq ($(CONFIG_BR_EXT), y)
  855. BR_NAME = br0
  856. EXTRA_CFLAGS += -DCONFIG_BR_EXT
  857. EXTRA_CFLAGS += '-DCONFIG_BR_EXT_BRNAME="'$(BR_NAME)'"'
  858. endif
  859.  
  860. ifeq ($(CONFIG_ANTENNA_DIVERSITY), y)
  861. EXTRA_CFLAGS += -DCONFIG_ANTENNA_DIVERSITY
  862. endif
  863.  
  864. ifeq ($(CONFIG_TDLS), y)
  865. EXTRA_CFLAGS += -DCONFIG_TDLS
  866. endif
  867.  
  868. ifeq ($(CONFIG_PLATFORM_I386_PC), y)
  869. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
  870. SUBARCH := $(shell uname -m | sed -e s/i.86/i386/)
  871. ARCH ?= $(SUBARCH)
  872. CROSS_COMPILE ?=
  873. KVER  := $(shell uname -r)
  874. KSRC := /lib/modules/$(KVER)/build
  875. MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/
  876. INSTALL_PREFIX :=
  877. endif
  878.  
  879. ifeq ($(CONFIG_PLATFORM_ACTIONS_ATM702X), y)
  880. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_ANDROID -DCONFIG_PLATFORM_ACTIONS_ATM702X
  881. #ARCH := arm
  882. ARCH := $(R_ARCH)
  883. #CROSS_COMPILE := arm-none-linux-gnueabi-
  884. CROSS_COMPILE := $(R_CROSS_COMPILE)
  885. KVER:= 3.4.0
  886. #KSRC := ../../../../build/out/kernel
  887. KSRC := $(KERNEL_BUILD_PATH)
  888. MODULE_NAME :=wlan
  889. endif
  890.  
  891. ifeq ($(CONFIG_PLATFORM_ACTIONS_ATM705X), y)
  892. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
  893. #EXTRA_CFLAGS += -DRTW_ENABLE_WIFI_CONTROL_FUNC
  894. # default setting for Android 4.1, 4.2, 4.3, 4.4
  895. EXTRA_CFLAGS += -DCONFIG_PLATFORM_ACTIONS_ATM705X
  896. EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
  897. EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
  898. EXTRA_CFLAGS += -DCONFIG_P2P_IPS
  899.  
  900. EXTRA_CFLAGS += -DCONFIG_PLATFORM_OPS
  901. ifeq ($(CONFIG_SDIO_HCI), y)
  902. _PLATFORM_FILES += platform/platform_arm_act_sdio.o
  903. endif
  904.  
  905. ARCH := arm
  906. CROSS_COMPILE := /opt/arm-2011.09/bin/arm-none-linux-gnueabi-
  907. KSRC := /home/android_sdk/Action-semi/705a_android_L/android/kernel
  908. endif
  909.  
  910. ifeq ($(CONFIG_PLATFORM_TI_AM3517), y)
  911. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_ANDROID -DCONFIG_PLATFORM_SHUTTLE
  912. CROSS_COMPILE := arm-eabi-
  913. KSRC := $(shell pwd)/../../../Android/kernel
  914. ARCH := arm
  915. endif
  916.  
  917. ifeq ($(CONFIG_PLATFORM_MSTAR_TITANIA12), y)
  918. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_MSTAR -DCONFIG_PLATFORM_MSTAR_TITANIA12
  919. ARCH:=mips
  920. CROSS_COMPILE:= /usr/src/Mstar_kernel/mips-4.3/bin/mips-linux-gnu-
  921. KVER:= 2.6.28.9
  922. KSRC:= /usr/src/Mstar_kernel/2.6.28.9/
  923. endif
  924.  
  925. ifeq ($(CONFIG_PLATFORM_MSTAR), y)
  926. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_MSTAR      #-DCONFIG_PLATFORM_MSTAR_SCAN_BEFORE_CONNECT
  927. ARCH:=arm
  928. CROSS_COMPILE:= /usr/src/bin/arm-none-linux-gnueabi-
  929. KVER:= 3.1.10
  930. KSRC:= /usr/src/Mstar_kernel/3.1.10/
  931. endif
  932.  
  933. ifeq ($(CONFIG_PLATFORM_ANDROID_X86), y)
  934. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
  935. SUBARCH := $(shell uname -m | sed -e s/i.86/i386/)
  936. ARCH := $(SUBARCH)
  937. CROSS_COMPILE := /media/DATA-2/android-x86/ics-x86_20120130/prebuilt/linux-x86/toolchain/i686-unknown-linux-gnu-4.2.1/bin/i686-unknown-linux-gnu-
  938. KSRC := /media/DATA-2/android-x86/ics-x86_20120130/out/target/product/generic_x86/obj/kernel
  939. MODULE_NAME :=wlan
  940. endif
  941.  
  942. ifeq ($(CONFIG_PLATFORM_ANDROID_INTEL_X86), y)
  943. EXTRA_CFLAGS += -DCONFIG_PLATFORM_ANDROID_INTEL_X86
  944. EXTRA_CFLAGS += -DCONFIG_PLATFORM_INTEL_BYT
  945. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_ANDROID
  946. EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
  947. EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
  948. EXTRA_CFLAGS += -DCONFIG_P2P_IPS
  949. EXTRA_CFLAGS += -DCONFIG_SKIP_SIGNAL_SCALE_MAPPING
  950. ifeq ($(CONFIG_SDIO_HCI), y)
  951. EXTRA_CFLAGS += -DCONFIG_RESUME_IN_WORKQUEUE
  952. endif
  953. endif
  954.  
  955. ifeq ($(CONFIG_PLATFORM_JB_X86), y)
  956. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
  957. EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
  958. EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
  959. EXTRA_CFLAGS += -DCONFIG_P2P_IPS
  960. SUBARCH := $(shell uname -m | sed -e s/i.86/i386/)
  961. ARCH := $(SUBARCH)
  962. CROSS_COMPILE := /home/android_sdk/android-x86_JB/prebuilts/gcc/linux-x86/x86/i686-linux-android-4.7/bin/i686-linux-android-
  963. KSRC := /home/android_sdk/android-x86_JB/out/target/product/x86/obj/kernel/
  964. MODULE_NAME :=wlan
  965. endif
  966.  
  967. ifeq ($(CONFIG_PLATFORM_ARM_PXA2XX), y)
  968. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
  969. ARCH := arm
  970. CROSS_COMPILE := arm-none-linux-gnueabi-
  971. KVER  := 2.6.34.1
  972. KSRC ?= /usr/src/linux-2.6.34.1
  973. endif
  974.  
  975. ifeq ($(CONFIG_PLATFORM_ARM_S3C2K4), y)
  976. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
  977. ARCH := arm
  978. CROSS_COMPILE := arm-linux-
  979. KVER  := 2.6.24.7_$(ARCH)
  980. KSRC := /usr/src/kernels/linux-$(KVER)
  981. endif
  982.  
  983. ifeq ($(CONFIG_PLATFORM_ARM_S3C6K4), y)
  984. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
  985. ARCH := arm
  986. CROSS_COMPILE := arm-none-linux-gnueabi-
  987. KVER  := 2.6.34.1
  988. KSRC ?= /usr/src/linux-2.6.34.1
  989. endif
  990.  
  991. ifeq ($(CONFIG_PLATFORM_RTD2880B), y)
  992. EXTRA_CFLAGS += -DCONFIG_BIG_ENDIAN -DCONFIG_PLATFORM_RTD2880B
  993. ARCH:=
  994. CROSS_COMPILE:=
  995. KVER:=
  996. KSRC:=
  997. endif
  998.  
  999. ifeq ($(CONFIG_PLATFORM_MIPS_RMI), y)
  1000. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
  1001. ARCH:=mips
  1002. CROSS_COMPILE:=mipsisa32r2-uclibc-
  1003. KVER:=
  1004. KSRC:= /root/work/kernel_realtek
  1005. endif
  1006.  
  1007. ifeq ($(CONFIG_PLATFORM_MIPS_PLM), y)
  1008. EXTRA_CFLAGS += -DCONFIG_BIG_ENDIAN
  1009. ARCH:=mips
  1010. CROSS_COMPILE:=mipsisa32r2-uclibc-
  1011. KVER:=
  1012. KSRC:= /root/work/kernel_realtek
  1013. endif
  1014.  
  1015. ifeq ($(CONFIG_PLATFORM_MSTAR389), y)
  1016. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_MSTAR389
  1017. ARCH:=mips
  1018. CROSS_COMPILE:= mips-linux-gnu-
  1019. KVER:= 2.6.28.10
  1020. KSRC:= /home/mstar/mstar_linux/2.6.28.9/
  1021. endif
  1022.  
  1023. ifeq ($(CONFIG_PLATFORM_MIPS_AR9132), y)
  1024. EXTRA_CFLAGS += -DCONFIG_BIG_ENDIAN
  1025. ARCH := mips
  1026. CROSS_COMPILE := mips-openwrt-linux-
  1027. KSRC := /home/alex/test_openwrt/tmp/linux-2.6.30.9
  1028. endif
  1029.  
  1030. ifeq ($(CONFIG_PLATFORM_DMP_PHILIPS), y)
  1031. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DRTK_DMP_PLATFORM
  1032. ARCH := mips
  1033. #CROSS_COMPILE:=/usr/local/msdk-4.3.6-mips-EL-2.6.12.6-0.9.30.3/bin/mipsel-linux-
  1034. CROSS_COMPILE:=/usr/local/toolchain_mipsel/bin/mipsel-linux-
  1035. KSRC ?=/usr/local/Jupiter/linux-2.6.12
  1036. endif
  1037.  
  1038. ifeq ($(CONFIG_PLATFORM_RTK_DMP), y)
  1039. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DRTK_DMP_PLATFORM  -DCONFIG_WIRELESS_EXT
  1040. EXTRA_CFLAGS += -DCONFIG_PLATFORM_OPS
  1041. ifeq ($(CONFIG_USB_HCI), y)
  1042. _PLATFORM_FILES += platform/platform_RTK_DMP_usb.o
  1043. endif
  1044. ARCH:=mips
  1045. CROSS_COMPILE:=mipsel-linux-
  1046. KVER:=
  1047. KSRC ?= /usr/src/DMP_Kernel/jupiter/linux-2.6.12
  1048. endif
  1049.  
  1050. ifeq ($(CONFIG_PLATFORM_MT53XX), y)
  1051. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_MT53XX
  1052. ARCH:= arm
  1053. CROSS_COMPILE:= arm11_mtk_le-
  1054. KVER:= 2.6.27
  1055. KSRC?= /proj/mtk00802/BD_Compare/BDP/Dev/BDP_V301/BDP_Linux/linux-2.6.27
  1056. endif
  1057.  
  1058. ifeq ($(CONFIG_PLATFORM_ARM_MX51_241H), y)
  1059. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_WISTRON_PLATFORM
  1060. ARCH := arm
  1061. CROSS_COMPILE := /opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-
  1062. KVER  := 2.6.31
  1063. KSRC ?= /lib/modules/2.6.31-770-g0e46b52/source
  1064. endif
  1065.  
  1066. ifeq ($(CONFIG_PLATFORM_FS_MX61), y)
  1067. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
  1068. ARCH := arm
  1069. CROSS_COMPILE := /home/share/CusEnv/FreeScale/arm-eabi-4.4.3/bin/arm-eabi-
  1070. KSRC ?= /home/share/CusEnv/FreeScale/FS_kernel_env
  1071. endif
  1072.  
  1073.  
  1074.  
  1075. ifeq ($(CONFIG_PLATFORM_ACTIONS_ATJ227X), y)
  1076. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_ACTIONS_ATJ227X
  1077. ARCH := mips
  1078. CROSS_COMPILE := /home/cnsd4/project/actions/tools-2.6.27/bin/mipsel-linux-gnu-
  1079. KVER  := 2.6.27
  1080. KSRC := /home/cnsd4/project/actions/linux-2.6.27.28
  1081. endif
  1082.  
  1083. ifeq ($(CONFIG_PLATFORM_TI_DM365), y)
  1084. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_TI_DM365
  1085. EXTRA_CFLAGS += -DCONFIG_USE_USB_BUFFER_ALLOC_RX
  1086. EXTRA_CFLAGS += -DCONFIG_SINGLE_XMIT_BUF -DCONFIG_SINGLE_RECV_BUF
  1087. ARCH := arm
  1088. #CROSS_COMPILE := /home/cnsd4/Appro/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-
  1089. #KSRC := /home/cnsd4/Appro/mv_pro_5.0/montavista/pro/devkit/lsp/ti-davinci/linux-dm365
  1090. CROSS_COMPILE := /opt/montavista/pro5.0/devkit/arm/v5t_le/bin/arm-linux-
  1091. KSRC:= /home/vivotek/lsp/DM365/kernel_platform/kernel/linux-2.6.18
  1092. KERNELOUTPUT := ${PRODUCTDIR}/tmp
  1093. KVER  := 2.6.18
  1094. endif
  1095.  
  1096. ifeq ($(CONFIG_PLATFORM_MOZART), y)
  1097. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_MOZART
  1098. ARCH := arm
  1099. CROSS_COMPILE := /home/vivotek/lsp/mozart3v2/Mozart3e_Toolchain/build_arm_nofpu/usr/bin/arm-linux-
  1100. KVER  := $(shell uname -r)
  1101. KSRC:= /opt/Vivotek/lsp/mozart3v2/kernel_platform/kernel/mozart_kernel-1.17
  1102. KERNELOUTPUT := /home/pink/sample/ODM/IP8136W-VINT/tmp/kernel
  1103. endif
  1104.  
  1105. ifeq ($(CONFIG_PLATFORM_TEGRA3_CARDHU), y)
  1106. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
  1107. # default setting for Android 4.1, 4.2
  1108. EXTRA_CFLAGS += -DRTW_ENABLE_WIFI_CONTROL_FUNC
  1109. EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
  1110. EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
  1111. EXTRA_CFLAGS += -DCONFIG_P2P_IPS
  1112. ARCH := arm
  1113. CROSS_COMPILE := /home/android_sdk/nvidia/tegra-16r3-partner-android-4.1_20120723/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-
  1114. KSRC := /home/android_sdk/nvidia/tegra-16r3-partner-android-4.1_20120723/out/target/product/cardhu/obj/KERNEL
  1115. MODULE_NAME := wlan
  1116. endif
  1117.  
  1118. ifeq ($(CONFIG_PLATFORM_TEGRA4_DALMORE), y)
  1119. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
  1120. # default setting for Android 4.1, 4.2
  1121. EXTRA_CFLAGS += -DRTW_ENABLE_WIFI_CONTROL_FUNC
  1122. EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
  1123. EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
  1124. EXTRA_CFLAGS += -DCONFIG_P2P_IPS
  1125. ARCH := arm
  1126. CROSS_COMPILE := /home/android_sdk/nvidia/tegra-17r9-partner-android-4.2-dalmore_20130131/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-
  1127. KSRC := /home/android_sdk/nvidia/tegra-17r9-partner-android-4.2-dalmore_20130131/out/target/product/dalmore/obj/KERNEL
  1128. MODULE_NAME := wlan
  1129. endif
  1130.  
  1131. ifeq ($(CONFIG_PLATFORM_ARM_TCC8900), y)
  1132. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
  1133. ARCH := arm
  1134. CROSS_COMPILE := /home/android_sdk/Telechips/SDK_2304_20110613/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-
  1135. KSRC := /home/android_sdk/Telechips/SDK_2304_20110613/kernel
  1136. MODULE_NAME := wlan
  1137. endif
  1138.  
  1139. ifeq ($(CONFIG_PLATFORM_ARM_TCC8920), y)
  1140. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
  1141. ARCH := arm
  1142. CROSS_COMPILE := /home/android_sdk/Telechips/v12.06_r1-tcc-android-4.0.4/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-
  1143. KSRC := /home/android_sdk/Telechips/v12.06_r1-tcc-android-4.0.4/kernel
  1144. MODULE_NAME := wlan
  1145. endif
  1146.  
  1147. ifeq ($(CONFIG_PLATFORM_ARM_TCC8920_JB42), y)
  1148. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
  1149. # default setting for Android 4.1, 4.2
  1150. EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
  1151. EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
  1152. EXTRA_CFLAGS += -DCONFIG_P2P_IPS
  1153. ARCH := arm
  1154. CROSS_COMPILE := /home/android_sdk/Telechips/v13.03_r1-tcc-android-4.2.2_ds_patched/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-
  1155. KSRC := /home/android_sdk/Telechips/v13.03_r1-tcc-android-4.2.2_ds_patched/kernel
  1156. MODULE_NAME := wlan
  1157. endif
  1158.  
  1159. ifeq ($(CONFIG_PLATFORM_ARM_RK2818), y)
  1160. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_ANDROID -DCONFIG_PLATFORM_ROCKCHIPS
  1161. ARCH := arm
  1162. CROSS_COMPILE := /usr/src/release_fae_version/toolchain/arm-eabi-4.4.0/bin/arm-eabi-
  1163. KSRC := /usr/src/release_fae_version/kernel25_A7_281x
  1164. MODULE_NAME := wlan
  1165. endif
  1166.  
  1167. ifeq ($(CONFIG_PLATFORM_ARM_RK3188), y)
  1168. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_ANDROID -DCONFIG_PLATFORM_ROCKCHIPS
  1169. # default setting for Android 4.1, 4.2, 4.3, 4.4
  1170. EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
  1171. EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
  1172. # default setting for Power control
  1173. EXTRA_CFLAGS += -DRTW_ENABLE_WIFI_CONTROL_FUNC
  1174. EXTRA_CFLAGS += -DRTW_SUPPORT_PLATFORM_SHUTDOWN
  1175. # default setting for Special function
  1176. EXTRA_CFLAGS += -DCONFIG_P2P_IPS
  1177. ARCH := arm
  1178. CROSS_COMPILE := /home/android_sdk/Rockchip/Rk3188/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-
  1179. KSRC := /home/android_sdk/Rockchip/Rk3188/kernel
  1180. MODULE_NAME := wlan
  1181. endif
  1182.  
  1183. ifeq ($(CONFIG_PLATFORM_ARM_RK3066), y)
  1184. EXTRA_CFLAGS += -DCONFIG_PLATFORM_ARM_RK3066
  1185. EXTRA_CFLAGS += -DRTW_ENABLE_WIFI_CONTROL_FUNC
  1186. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
  1187. EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
  1188. EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211
  1189. EXTRA_CFLAGS += -DCONFIG_P2P_IPS
  1190. ifeq ($(CONFIG_SDIO_HCI), y)
  1191. EXTRA_CFLAGS += -DRTW_SUPPORT_PLATFORM_SHUTDOWN
  1192. endif
  1193. EXTRA_CFLAGS += -fno-pic
  1194. ARCH := arm
  1195. CROSS_COMPILE := /home/android_sdk/Rockchip/rk3066_20130607/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-
  1196. #CROSS_COMPILE := /home/android_sdk/Rockchip/Rk3066sdk/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-
  1197. KSRC := /home/android_sdk/Rockchip/Rk3066sdk/kernel
  1198. MODULE_NAME :=wlan
  1199. endif
  1200.  
  1201. ifeq ($(CONFIG_PLATFORM_ARM_URBETTER), y)
  1202. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN #-DCONFIG_MINIMAL_MEMORY_USAGE
  1203. ARCH := arm
  1204. CROSS_COMPILE := /media/DATA-1/urbetter/arm-2009q3/bin/arm-none-linux-gnueabi-
  1205. KSRC := /media/DATA-1/urbetter/ics-urbetter/kernel
  1206. MODULE_NAME := wlan
  1207. endif
  1208.  
  1209. ifeq ($(CONFIG_PLATFORM_ARM_TI_PANDA), y)
  1210. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN #-DCONFIG_MINIMAL_MEMORY_USAGE
  1211. ARCH := arm
  1212. #CROSS_COMPILE := /media/DATA-1/aosp/ics-aosp_20111227/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-
  1213. #KSRC := /media/DATA-1/aosp/android-omap-panda-3.0_20120104
  1214. CROSS_COMPILE := /media/DATA-1/android-4.0/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-
  1215. KSRC := /media/DATA-1/android-4.0/panda_kernel/omap
  1216. MODULE_NAME := wlan
  1217. endif
  1218.  
  1219. ifeq ($(CONFIG_PLATFORM_MIPS_JZ4760), y)
  1220. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_MINIMAL_MEMORY_USAGE
  1221. ARCH ?= mips
  1222. CROSS_COMPILE ?= /mnt/sdb5/Ingenic/Umido/mips-4.3/bin/mips-linux-gnu-
  1223. KSRC ?= /mnt/sdb5/Ingenic/Umido/kernel
  1224. endif
  1225.  
  1226. ifeq ($(CONFIG_PLATFORM_SZEBOOK), y)
  1227. EXTRA_CFLAGS += -DCONFIG_BIG_ENDIAN
  1228. ARCH:=arm
  1229. CROSS_COMPILE:=/opt/crosstool2/bin/armeb-unknown-linux-gnueabi-
  1230. KVER:= 2.6.31.6
  1231. KSRC:= ../code/linux-2.6.31.6-2020/
  1232. endif
  1233.  
  1234. #Add setting for MN10300
  1235. ifeq ($(CONFIG_PLATFORM_MN10300), y)
  1236. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_MN10300
  1237. ARCH := mn10300
  1238. CROSS_COMPILE := mn10300-linux-
  1239. KVER := 2.6.32.2
  1240. KSRC := /home/winuser/work/Plat_sLD2T_V3010/usr/src/linux-2.6.32.2
  1241. INSTALL_PREFIX :=
  1242. endif
  1243.  
  1244.  
  1245. ifeq ($(CONFIG_PLATFORM_ARM_SUNxI), y)
  1246. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
  1247. EXTRA_CFLAGS += -DCONFIG_PLATFORM_ARM_SUNxI
  1248. # default setting for Android 4.1, 4.2
  1249. EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
  1250. EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
  1251. EXTRA_CFLAGS += -DDCONFIG_P2P_IPS
  1252.  
  1253. EXTRA_CFLAGS += -DCONFIG_PLATFORM_OPS
  1254. ifeq ($(CONFIG_USB_HCI), y)
  1255. EXTRA_CFLAGS += -DCONFIG_USE_USB_BUFFER_ALLOC_TX
  1256. _PLATFORM_FILES += platform/platform_ARM_SUNxI_usb.o
  1257. endif
  1258. ifeq ($(CONFIG_SDIO_HCI), y)
  1259. # default setting for A10-EVB mmc0
  1260. #EXTRA_CFLAGS += -DCONFIG_WITS_EVB_V13
  1261. _PLATFORM_FILES += platform/platform_ARM_SUNxI_sdio.o
  1262. endif
  1263.  
  1264. ARCH := arm
  1265. #CROSS_COMPILE := arm-none-linux-gnueabi-
  1266. CROSS_COMPILE=/home/android_sdk/Allwinner/a10/android-jb42/lichee-jb42/buildroot/output/external-toolchain/bin/arm-none-linux-gnueabi-
  1267. KVER  := 3.0.8
  1268. #KSRC:= ../lichee/linux-3.0/
  1269. KSRC=/home/android_sdk/Allwinner/a10/android-jb42/lichee-jb42/linux-3.0
  1270. endif
  1271.  
  1272. ifeq ($(CONFIG_PLATFORM_ARM_SUN6I), y)
  1273. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
  1274. EXTRA_CFLAGS += -DCONFIG_PLATFORM_ARM_SUN6I
  1275. EXTRA_CFLAGS += -DCONFIG_TRAFFIC_PROTECT
  1276. # default setting for Android 4.1, 4.2, 4.3, 4.4
  1277. EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
  1278. EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
  1279. EXTRA_CFLAGS += -DCONFIG_P2P_IPS -DCONFIG_QOS_OPTIMIZATION
  1280.  
  1281. EXTRA_CFLAGS += -DCONFIG_PLATFORM_OPS
  1282. ifeq ($(CONFIG_USB_HCI), y)
  1283. EXTRA_CFLAGS += -DCONFIG_USE_USB_BUFFER_ALLOC_TX
  1284. _PLATFORM_FILES += platform/platform_ARM_SUNxI_usb.o
  1285. endif
  1286. ifeq ($(CONFIG_SDIO_HCI), y)
  1287. # default setting for A31-EVB mmc0
  1288. EXTRA_CFLAGS += -DCONFIG_A31_EVB
  1289. _PLATFORM_FILES += platform/platform_ARM_SUNnI_sdio.o
  1290. endif
  1291.  
  1292. ARCH := arm
  1293. #Android-JB42
  1294. #CROSS_COMPILE := /home/android_sdk/Allwinner/a31/android-jb42/lichee/buildroot/output/external-toolchain/bin/arm-linux-gnueabi-
  1295. #KSRC :=/home/android_sdk/Allwinner/a31/android-jb42/lichee/linux-3.3
  1296. #ifeq ($(CONFIG_USB_HCI), y)
  1297. #MODULE_NAME := 8188eu_sw
  1298. #endif
  1299. # ==== Cross compile setting for kitkat-a3x_v4.5 =====
  1300. CROSS_COMPILE := /home/android_sdk/Allwinner/a31/kitkat-a3x_v4.5/lichee/buildroot/output/external-toolchain/bin/arm-linux-gnueabi-
  1301. KSRC :=/home/android_sdk/Allwinner/a31/kitkat-a3x_v4.5/lichee/linux-3.3
  1302. endif
  1303.  
  1304. ifeq ($(CONFIG_PLATFORM_ARM_SUN7I), y)
  1305. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
  1306. EXTRA_CFLAGS += -DCONFIG_PLATFORM_ARM_SUN7I
  1307. EXTRA_CFLAGS += -DCONFIG_TRAFFIC_PROTECT
  1308. # default setting for Android 4.1, 4.2, 4.3, 4.4
  1309. EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
  1310. EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
  1311. EXTRA_CFLAGS += -DCONFIG_P2P_IPS -DCONFIG_QOS_OPTIMIZATION
  1312.  
  1313. EXTRA_CFLAGS += -DCONFIG_PLATFORM_OPS
  1314. ifeq ($(CONFIG_USB_HCI), y)
  1315. EXTRA_CFLAGS += -DCONFIG_USE_USB_BUFFER_ALLOC_TX
  1316. _PLATFORM_FILES += platform/platform_ARM_SUNxI_usb.o
  1317. endif
  1318. ifeq ($(CONFIG_SDIO_HCI), y)
  1319. _PLATFORM_FILES += platform/platform_ARM_SUNnI_sdio.o
  1320. endif
  1321.  
  1322. ARCH := arm
  1323. # ===Cross compile setting for Android 4.2 SDK ===
  1324. #CROSS_COMPILE := /home/android_sdk/Allwinner/a20_evb/lichee/out/android/common/buildroot/external-toolchain/bin/arm-linux-gnueabi-
  1325. #KSRC := /home/android_sdk/Allwinner/a20_evb/lichee/linux-3.3
  1326. # ==== Cross compile setting for Android 4.3 SDK =====
  1327. #CROSS_COMPILE := /home/android_sdk/Allwinner/a20/android-jb43/lichee/out/android/common/buildroot/external-toolchain/bin/arm-linux-gnueabi-
  1328. #KSRC := /home/android_sdk/Allwinner/a20/android-jb43/lichee/linux-3.4
  1329. # ==== Cross compile setting for kitkat-a20_v4.4 =====
  1330. CROSS_COMPILE := /home/android_sdk/Allwinner/a20/kitkat-a20_v4.4/lichee/out/android/common/buildroot/external-toolchain/bin/arm-linux-gnueabi-
  1331. KSRC := /home/android_sdk/Allwinner/a20/kitkat-a20_v4.4/lichee/linux-3.4
  1332. endif
  1333.  
  1334. ifeq ($(CONFIG_PLATFORM_ARM_SUN8I), y)
  1335. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
  1336. EXTRA_CFLAGS += -DCONFIG_PLATFORM_ARM_SUN8I
  1337. EXTRA_CFLAGS += -DCONFIG_TRAFFIC_PROTECT
  1338. # default setting for Android 4.1, 4.2
  1339. EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
  1340. EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
  1341. EXTRA_CFLAGS += -DCONFIG_P2P_IPS
  1342.  
  1343. EXTRA_CFLAGS += -DCONFIG_PLATFORM_OPS
  1344. ifeq ($(CONFIG_USB_HCI), y)
  1345. EXTRA_CFLAGS += -DCONFIG_USE_USB_BUFFER_ALLOC_TX
  1346. _PLATFORM_FILES += platform/platform_ARM_SUNxI_usb.o
  1347. endif
  1348. ifeq ($(CONFIG_SDIO_HCI), y)
  1349. _PLATFORM_FILES += platform/platform_ARM_SUNnI_sdio.o
  1350. endif
  1351.  
  1352. ARCH := arm
  1353. # ===Cross compile setting for Android 4.2 SDK ===
  1354. #CROSS_COMPILE := /home/android_sdk/Allwinner/a23/android-jb42/lichee/out/android/common/buildroot/external-toolchain/bin/arm-linux-gnueabi-
  1355. #KSRC :=/home/android_sdk/Allwinner/a23/android-jb42/lichee/linux-3.4
  1356. # ===Cross compile setting for Android 4.4 SDK ===
  1357. CROSS_COMPILE := /home/android_sdk/Allwinner/a23/android-kk44/lichee/out/android/common/buildroot/external-toolchain/bin/arm-linux-gnueabi-
  1358. KSRC :=/home/android_sdk/Allwinner/a23/android-kk44/lichee/linux-3.4
  1359. endif
  1360.  
  1361. ifeq ($(CONFIG_PLATFORM_ACTIONS_ATV5201), y)
  1362. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_ACTIONS_ATV5201
  1363. EXTRA_CFLAGS += -DCONFIG_SDIO_DISABLE_RXFIFO_POLLING_LOOP
  1364. ARCH := mips
  1365. CROSS_COMPILE := mipsel-linux-gnu-
  1366. KVER  := $(KERNEL_VER)
  1367. KSRC:= $(CFGDIR)/../../kernel/linux-$(KERNEL_VER)
  1368. endif
  1369.  
  1370. ifeq ($(CONFIG_PLATFORM_ARM_RTD299X), y)
  1371. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DUSB_XMITBUF_ALIGN_SZ=1024 -DUSB_PACKET_OFFSET_SZ=0
  1372. #ARCH, CROSS_COMPILE, KSRC,and  MODDESTDIR are provided by external makefile
  1373. INSTALL_PREFIX :=
  1374. endif
  1375.  
  1376. # Platfrom setting
  1377. ifeq ($(CONFIG_PLATFORM_ARM_SPREADTRUM_6820), y)
  1378. ifeq ($(CONFIG_ANDROID_2X), y)
  1379. EXTRA_CFLAGS += -DANDROID_2X
  1380. endif
  1381. EXTRA_CFLAGS += -DCONFIG_PLATFORM_SPRD
  1382. EXTRA_CFLAGS += -DPLATFORM_SPREADTRUM_6820
  1383. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
  1384. ifeq ($(RTL871X), rtl8188e)
  1385. EXTRA_CFLAGS += -DSOFTAP_PS_DURATION=50
  1386. endif
  1387. ifeq ($(CONFIG_SDIO_HCI), y)
  1388. EXTRA_CFLAGS += -DCONFIG_PLATFORM_OPS
  1389. _PLATFORM_FILES += platform/platform_sprd_sdio.o
  1390. endif
  1391. endif
  1392.  
  1393. ifeq ($(CONFIG_PLATFORM_ARM_SPREADTRUM_8810), y)
  1394. ifeq ($(CONFIG_ANDROID_2X), y)
  1395. EXTRA_CFLAGS += -DANDROID_2X
  1396. endif
  1397. EXTRA_CFLAGS += -DCONFIG_PLATFORM_SPRD
  1398. EXTRA_CFLAGS += -DPLATFORM_SPREADTRUM_8810
  1399. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
  1400. ifeq ($(RTL871X), rtl8188e)
  1401. EXTRA_CFLAGS += -DSOFTAP_PS_DURATION=50
  1402. endif
  1403. ifeq ($(CONFIG_SDIO_HCI), y)
  1404. EXTRA_CFLAGS += -DCONFIG_PLATFORM_OPS
  1405. _PLATFORM_FILES += platform/platform_sprd_sdio.o
  1406. endif
  1407. endif
  1408.  
  1409. ifeq ($(CONFIG_PLATFORM_ARM_WMT), y)
  1410. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
  1411. EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
  1412. EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
  1413. EXTRA_CFLAGS += -DCONFIG_PLATFORM_OPS
  1414. ifeq ($(CONFIG_SDIO_HCI), y)
  1415. _PLATFORM_FILES += platform/platform_ARM_WMT_sdio.o
  1416. endif
  1417. ARCH := arm
  1418. CROSS_COMPILE := /home/android_sdk/WonderMedia/wm8880-android4.4/toolchain/arm_201103_gcc4.5.2/mybin/arm_1103_le-
  1419. KSRC := /home/android_sdk/WonderMedia/wm8880-android4.4/kernel4.4/
  1420. MODULE_NAME :=8189es_kk
  1421. endif
  1422.  
  1423. ifeq ($(CONFIG_PLATFORM_RTK119X), y)
  1424. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
  1425. #EXTRA_CFLAGS += -DCONFIG_PLATFORM_ARM_SUN7I
  1426. EXTRA_CFLAGS += -DCONFIG_TRAFFIC_PROTECT
  1427. # default setting for Android 4.1, 4.2
  1428. EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
  1429. EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
  1430. #EXTRA_CFLAGS += -DCONFIG_P2P_IPS -DCONFIG_QOS_OPTIMIZATION
  1431. EXTRA_CFLAGS += -DCONFIG_QOS_OPTIMIZATION
  1432.  
  1433. #EXTRA_CFLAGS += -DCONFIG_#PLATFORM_OPS
  1434. ifeq ($(CONFIG_USB_HCI), y)
  1435. EXTRA_CFLAGS += -DCONFIG_USE_USB_BUFFER_ALLOC_TX
  1436. #_PLATFORM_FILES += platform/platform_ARM_SUNxI_usb.o
  1437. endif
  1438. ifeq ($(CONFIG_SDIO_HCI), y)
  1439. _PLATFORM_FILES += platform/platform_ARM_SUNnI_sdio.o
  1440. endif
  1441.  
  1442. ARCH := arm
  1443.  
  1444. # ==== Cross compile setting for Android 4.4 SDK =====
  1445. #CROSS_COMPILE := arm-linux-gnueabihf-
  1446. KVER  := 3.10.24
  1447. #KSRC :=/home/android_sdk/Allwinner/a20/android-kitkat44/lichee/linux-3.4
  1448. CROSS_COMPILE := /home/realtek/software_phoenix/phoenix/toolchain/usr/local/arm-2013.11/bin/arm-linux-gnueabihf-
  1449. KSRC := /home/realtek/software_phoenix/linux-kernel
  1450. MODULE_NAME := 8192eu
  1451.  
  1452. endif
  1453.  
  1454. ifeq ($(CONFIG_PLATFORM_NOVATEK_NT72668), y)
  1455. EXTRA_CFLAGS += -DCONFIG_PLATFORM_NOVATEK_NT72668
  1456. EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
  1457. EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
  1458. EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
  1459. EXTRA_CFLAGS += -DDCONFIG_P2P_IPS
  1460. EXTRA_CFLAGS += -DCONFIG_USE_USB_BUFFER_ALLOC_RX
  1461. EXTRA_CFLAGS += -DCONFIG_USE_USB_BUFFER_ALLOC_TX
  1462. ARCH ?= arm
  1463. CROSS_COMPILE := arm-linux-gnueabihf-
  1464. KVER := 3.8.0
  1465. KSRC := /Custom/Novatek/TCL/linux-3.8_header
  1466. #KSRC := $(KERNELDIR)
  1467. endif
  1468.  
  1469. ifeq ($(CONFIG_MULTIDRV), y)
  1470.  
  1471. ifeq ($(CONFIG_SDIO_HCI), y)
  1472. MODULE_NAME := rtw_sdio
  1473. endif
  1474.  
  1475. ifeq ($(CONFIG_USB_HCI), y)
  1476. MODULE_NAME := rtw_usb
  1477. endif
  1478.  
  1479. ifeq ($(CONFIG_PCI_HCI), y)
  1480. MODULE_NAME := rtw_pci
  1481. endif
  1482.  
  1483.  
  1484. endif
  1485.  
  1486. USER_MODULE_NAME ?=
  1487. ifneq ($(USER_MODULE_NAME),)
  1488. MODULE_NAME := $(USER_MODULE_NAME)
  1489. endif
  1490.  
  1491. ifneq ($(KERNELRELEASE),)
  1492.  
  1493. rtk_core := core/rtw_cmd.o \
  1494.         core/rtw_security.o \
  1495.         core/rtw_debug.o \
  1496.         core/rtw_io.o \
  1497.         core/rtw_ioctl_query.o \
  1498.         core/rtw_ioctl_set.o \
  1499.         core/rtw_ieee80211.o \
  1500.         core/rtw_mlme.o \
  1501.         core/rtw_mlme_ext.o \
  1502.         core/rtw_wlan_util.o \
  1503.         core/rtw_vht.o \
  1504.         core/rtw_pwrctrl.o \
  1505.         core/rtw_rf.o \
  1506.         core/rtw_recv.o \
  1507.         core/rtw_sta_mgt.o \
  1508.         core/rtw_ap.o \
  1509.         core/rtw_xmit.o \
  1510.         core/rtw_p2p.o \
  1511.         core/rtw_tdls.o \
  1512.         core/rtw_br_ext.o \
  1513.         core/rtw_iol.o \
  1514.         core/rtw_sreset.o \
  1515.         core/rtw_btcoex.o \
  1516.         core/rtw_beamforming.o \
  1517.         core/rtw_odm.o \
  1518.         core/efuse/rtw_efuse.o
  1519.  
  1520. $(MODULE_NAME)-y += $(rtk_core)
  1521.  
  1522. $(MODULE_NAME)-$(CONFIG_INTEL_WIDI) += core/rtw_intel_widi.o
  1523.  
  1524. $(MODULE_NAME)-$(CONFIG_WAPI_SUPPORT) += core/rtw_wapi.o    \
  1525.                     core/rtw_wapi_sms4.o
  1526.  
  1527. $(MODULE_NAME)-y += $(_OS_INTFS_FILES)
  1528. $(MODULE_NAME)-y += $(_HAL_INTFS_FILES)
  1529. $(MODULE_NAME)-y += $(_OUTSRC_FILES)
  1530. $(MODULE_NAME)-y += $(_PLATFORM_FILES)
  1531.  
  1532. $(MODULE_NAME)-$(CONFIG_MP_INCLUDED) += core/rtw_mp.o \
  1533.                     core/rtw_mp_ioctl.o
  1534.  
  1535. ifeq ($(CONFIG_RTL8723A), y)
  1536. $(MODULE_NAME)-$(CONFIG_MP_INCLUDED)+= core/rtw_bt_mp.o
  1537. endif
  1538. ifeq ($(CONFIG_RTL8723B), y)
  1539. $(MODULE_NAME)-$(CONFIG_MP_INCLUDED)+= core/rtw_bt_mp.o
  1540. endif
  1541. ifeq ($(CONFIG_RTL8821A), y)
  1542. $(MODULE_NAME)-$(CONFIG_MP_INCLUDED)+= core/rtw_bt_mp.o
  1543. endif
  1544.  
  1545. obj-$(CONFIG_RTL8821AU) := $(MODULE_NAME).o
  1546.  
  1547. else
  1548.  
  1549. export CONFIG_RTL8821AU = m
  1550.  
  1551. all: modules
  1552.  
  1553. modules:
  1554.     $(MAKE) ARCH=arm64 -j4 CROSS_COMPILE=$(CROSS_COMPILE) -C $(KSRC) M=$(shell pwd)  modules
  1555.  
  1556. strip:
  1557.     $(CROSS_COMPILE)strip $(MODULE_NAME).ko --strip-unneeded
  1558.  
  1559. install:
  1560.     install -p -m 644 $(MODULE_NAME).ko  $(MODDESTDIR)
  1561.     /sbin/depmod -a ${KVER}
  1562.  
  1563. uninstall:
  1564.     rm -f $(MODDESTDIR)/$(MODULE_NAME).ko
  1565.     /sbin/depmod -a ${KVER}
  1566.  
  1567. config_r:
  1568.     @echo "make config"
  1569.     /bin/bash script/Configure script/config.in
  1570.  
  1571.  
  1572. .PHONY: modules clean
  1573.  
  1574. clean:
  1575.     cd hal/OUTSRC/ ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko
  1576.     cd hal/OUTSRC/ ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
  1577.     cd hal/led ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
  1578.     cd hal ; rm -fr */*/*.mod.c */*/*.mod */*/*.o */*/.*.cmd */*/*.ko
  1579.     cd hal ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko
  1580.     cd hal ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
  1581.     cd core/efuse ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
  1582.     cd core ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
  1583.     cd os_dep/linux ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
  1584.     cd os_dep ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
  1585.     cd platform ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
  1586.     rm -fr Module.symvers ; rm -fr Module.markers ; rm -fr modules.order
  1587.     rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
  1588.     rm -fr .tmp_versions
  1589. endif
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×