diff options
| author | yygg_you <[email protected]> | 2017-10-06 08:58:24 +0800 |
|---|---|---|
| committer | yygg_you <[email protected]> | 2017-10-06 08:58:24 +0800 |
| commit | 2e01bafa71dc0309abfca352edae8872d27038fc (patch) | |
| tree | a4208429d31866a5938ee6484ae25b525d0180d7 /bsp/nv32f100x/lib/SConscript | |
| parent | ad1d3375f222c5746514ab16003dc18c0df83dad (diff) | |
| parent | a15d90a6865fa05e2420205556df7cece5f5c134 (diff) | |
Merge branch 'master' of https://github.com/yygg/rt-thread
Diffstat (limited to 'bsp/nv32f100x/lib/SConscript')
| -rw-r--r-- | bsp/nv32f100x/lib/SConscript | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/bsp/nv32f100x/lib/SConscript b/bsp/nv32f100x/lib/SConscript new file mode 100644 index 0000000000..9f78108059 --- /dev/null +++ b/bsp/nv32f100x/lib/SConscript @@ -0,0 +1,16 @@ +Import('RTT_ROOT') +Import('rtconfig') +from building import * + +cwd = os.path.join(str(Dir('#')), 'lib') +src = Glob('./src/*.c') + +src += Glob('./src/*.s') +path = [cwd + '/inc' + ] + +CPPDEFINES = ['NV32', 'KEIL'] + +group = DefineGroup('Lib', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES) + +Return('group') |
