mirror of
https://github.com/flyingcys/realtek_ameba.git
synced 2026-07-08 07:25:38 +00:00
合并scons编译脚本
This commit is contained in:
parent
7f4971152a
commit
845e33bfaf
9 changed files with 89 additions and 207 deletions
|
|
@ -1,31 +0,0 @@
|
|||
import rtconfig
|
||||
Import('RTT_ROOT')
|
||||
from building import *
|
||||
|
||||
# get current directory
|
||||
cwd = GetCurrentDir()
|
||||
|
||||
# The set of source files associated with this SConscript file.
|
||||
path =[cwd + '/platform',
|
||||
cwd + '/']
|
||||
|
||||
src = []
|
||||
if GetDepend(['RT_USING_LWIP']):
|
||||
src += Split('''
|
||||
wifi/wifi_ind.c
|
||||
wifi/wifi_util.c
|
||||
wifi/wifi_promisc.c
|
||||
wifi/rtw_wpa_supplicant/wpa_supplicant/wifi_eap_config.c
|
||||
''')
|
||||
|
||||
path += [cwd + '/wifi',
|
||||
cwd + '/wifi/rtw_wpa_supplicant/src',
|
||||
cwd + '/../drivers/wlan/realtek/include',
|
||||
cwd + '/../drivers/wlan/realtek/src/osdep',
|
||||
cwd + '/../drivers/wlan/realtek/wlan_ram_map/rom',
|
||||
cwd + '/../network/ssl/polarssl-1.3.8/include',
|
||||
cwd + '/../network/ssl/ssl_ram_map/rom']
|
||||
|
||||
group = DefineGroup('ameba_wifi', src, depend = [], CPPPATH = path)
|
||||
|
||||
Return('group')
|
||||
Loading…
Add table
Add a link
Reference in a new issue