mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-16 00:49:31 +08:00
e6a874abb4
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1475 bbd45198-f89e-11dd-88c7-29a3b14d5316
20 lines
402 B
Python
20 lines
402 B
Python
import rtconfig
|
|
Import('RTT_ROOT')
|
|
from building import *
|
|
|
|
src_bsp = ['application.c', 'startup.c', 'board.c']
|
|
src_drv = ['serial.c']
|
|
|
|
if GetDepend('RT_USING_DFS'):
|
|
src_drv += ['sd.c']
|
|
|
|
if GetDepend('RT_USING_LWIP'):
|
|
src_drv += ['sam7x_emac.c']
|
|
|
|
|
|
src = File(src_bsp + src_drv)
|
|
CPPPATH = [RTT_ROOT + '/bsp/sam7x']
|
|
group = DefineGroup('Startup', src, depend = [''], CPPPATH = CPPPATH)
|
|
|
|
Return('group')
|