SConscript 364 B

1234567891011121314
  1. from building import *
  2. cwd = GetCurrentDir()
  3. path = [cwd]
  4. src = Glob('*.c')
  5. # 如果使用了GD32 WiFi包,则排除sys_arch.c(GD32有自己的实现)
  6. if GetDepend(['PKG_USING_GD32VW55X_WIFI']):
  7. src = [f for f in src if not str(f).endswith('sys_arch.c')]
  8. group = DefineGroup('lwIP', src, depend = ['RT_USING_LWIP'], CPPPATH = path)
  9. Return('group')