diff options
| author | [email protected] <[email protected]> | 2011-06-09 10:49:22 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2011-06-09 10:49:22 +0000 |
| commit | e6a874abb4aaea0c08b1b19a031b8f7d471dd555 (patch) | |
| tree | f958431fc3c3acf268707bd2f387ea82d12b9ab9 /bsp/sam7x/SConscript | |
| parent | fef619f7b02f92eb6d8886cc3ab49d48177162fb (diff) | |
add sam7x scons script.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1475 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'bsp/sam7x/SConscript')
| -rw-r--r-- | bsp/sam7x/SConscript | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/bsp/sam7x/SConscript b/bsp/sam7x/SConscript new file mode 100644 index 0000000000..2804c7dedf --- /dev/null +++ b/bsp/sam7x/SConscript @@ -0,0 +1,19 @@ +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') |
