summaryrefslogtreecommitdiff
path: root/components/net/lwip/port/SConscript
blob: d838b4c08aaf9f890fdb982d414e2469e3446e4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from building import *

cwd = GetCurrentDir()
path  = [cwd]

src  = Glob('*.c')

# 如果使用了GD32 WiFi包,则排除sys_arch.c(GD32有自己的实现)
if GetDepend(['PKG_USING_GD32VW55X_WIFI']):
    src = [f for f in src if not str(f).endswith('sys_arch.c')]

group = DefineGroup('lwIP', src, depend = ['RT_USING_LWIP'], CPPPATH = path)

Return('group')