diff options
| author | bernard <[email protected]> | 2013-09-20 21:20:51 +0800 |
|---|---|---|
| committer | bernard <[email protected]> | 2013-09-20 21:20:51 +0800 |
| commit | 9d09cd9f239ae95b41defb4f02e554e57e7f3903 (patch) | |
| tree | e2f77d78510c6f343ecd0cce6e22162c103837b6 /libcpu/arm/am335x/SConscript | |
| parent | 0bf7ed76cff8071718f50ebeb68ba3bb2544a7cb (diff) | |
Import beaglebone porting
Diffstat (limited to 'libcpu/arm/am335x/SConscript')
| -rw-r--r-- | libcpu/arm/am335x/SConscript | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/libcpu/arm/am335x/SConscript b/libcpu/arm/am335x/SConscript new file mode 100644 index 0000000000..2ad51b573e --- /dev/null +++ b/libcpu/arm/am335x/SConscript @@ -0,0 +1,17 @@ +Import('rtconfig') +from building import * + +cwd = GetCurrentDir() +src = Glob('*.c') +CPPPATH = [cwd] + +if rtconfig.PLATFORM == 'iar': + src += Glob('*_iar.S') +elif rtconfig.PLATFORM == 'gcc': + src += Glob('*_gcc.S') +elif rtconfig.PLATFORM == 'armcc': + src += Glob('*_rvds.S') + +group = DefineGroup('AM1808', src, depend = [''], CPPPATH = CPPPATH) + +Return('group') |
