diff options
| author | SASANO Takayoshi <[email protected]> | 2019-05-05 16:13:57 +0900 |
|---|---|---|
| committer | SASANO Takayoshi <[email protected]> | 2019-05-05 16:13:57 +0900 |
| commit | eb0a361acc02dce24896d7f3bc401479f4f797b8 (patch) | |
| tree | ba738c5e457d21cf0cd85ae5f368cf17617b78fc /bsp/lpc1114/driver/SConscript | |
| parent | c2244a5c57d5fd0dbc4697ed43f1a14bbe791398 (diff) | |
add LPC1114 support
Diffstat (limited to 'bsp/lpc1114/driver/SConscript')
| -rw-r--r-- | bsp/lpc1114/driver/SConscript | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/bsp/lpc1114/driver/SConscript b/bsp/lpc1114/driver/SConscript new file mode 100644 index 0000000000..2331e725c9 --- /dev/null +++ b/bsp/lpc1114/driver/SConscript @@ -0,0 +1,16 @@ +from building import * + +cwd = GetCurrentDir() +src = Glob('*.[cs]') +list = os.listdir(cwd) +CPPPATH = [cwd] +objs = [] + +group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH) + +for d in list: + path = os.path.join(cwd, d) + if os.path.isfile(os.path.join(path, 'SConscript')): + objs = objs + SConscript(os.path.join(d, 'SConscript')) +objs = objs + group +Return('objs') |
