This commit is contained in:
刘可亮
2024-10-30 16:50:31 +08:00
parent 0ef85b55da
commit 661e71562d
458 changed files with 46555 additions and 12133 deletions

View File

@@ -20,6 +20,10 @@ CPPPATH.append(cwd + '/os/wlan_lwip/')
CPPPATH.append(cwd + '/platform/include/')
CPPPATH.append(cwd + '/platform/rtwlan_bsp/')
if GetDepend('REALTEK_FULL_FNC_MODE'):
CPPPATH.append(cwd + '/api/wifi/rtw_wpa_supplicant/src/')
CPPPATH.append(cwd + '/api/wifi/rtw_wpa_supplicant/wpa_supplicant/')
if GetDepend('REALTEK_WLAN_INTF_SDIO'):
CPPPATH.append(cwd + '/platform/sdio/include/')
CPPPATH.append(cwd + '/platform/sdio/')
@@ -27,6 +31,9 @@ if GetDepend('REALTEK_WLAN_INTF_SDIO'):
src += Glob('api/*.c')
src += Glob('api/wifi/*.c')
if GetDepend('REALTEK_FULL_FNC_MODE'):
src += Glob('api/wifi/rtw_wpa_supplicant/wpa_supplicant/*.c')
src += Glob('os/customer_rtos/customer_rtt_service.c')
src += Glob('os/os_dep/*.c')
src += Glob('os/wlan_lwip/*.c')
@@ -44,7 +51,11 @@ if GetDepend('AIC_USING_RTL8733_WLAN0'):
if GetDepend('AIC_USING_RTL8189_WLAN0'):
wifi_name = 'rtl8189'
lib_name = 'wlan_' + wifi_name + '_'+ rtconfig.CPUNAME
if GetDepend('REALTEK_FULL_FNC_MODE'):
lib_name = 'wlan_' + wifi_name + '_full_'+ rtconfig.CPUNAME
else:
lib_name = 'wlan_' + wifi_name + '_'+ rtconfig.CPUNAME
LIBS = [lib_name]
LIBPATH = [cwd + "/wlan_lib/"]