4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-17 15:33:31 +08:00
sundm75 029e161f59 [BSP][all ls1c]change license to Apache-2.0
[BSP][ls1c] add rtc library
[BSP][ls1c] add pwm ,touch , rtc driver
2018-12-24 18:49:00 +08:00

18 lines
338 B
Python

from building import *
cwd = GetCurrentDir()
src = Glob('*.c')
CPPPATH = [cwd]
if GetDepend('RT_USING_LWIP') == False:
SrcRemove(src, 'mii.c')
SrcRemove(src, 'synopGMAC.c')
SrcRemove(src, 'synopGMAC_Dev.c')
SrcRemove(src, 'synopGMAC_plat.c')
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
Return('group')