diff options
| author | shaojinchun <[email protected]> | 2018-08-23 09:52:41 +0800 |
|---|---|---|
| committer | shaojinchun <[email protected]> | 2018-08-23 09:52:41 +0800 |
| commit | e0b04166e891c2ec4fe111cfe5c26aed8e22e2c4 (patch) | |
| tree | e6afa1d3b53e4dc023e7010ca7288e9b0849c95b /bsp/raspi2/SConscript | |
| parent | c5a9371131690dd9ad216307ea8d214cbf79826f (diff) | |
[bsp][raspi2] add raspberry pi 2 support
Diffstat (limited to 'bsp/raspi2/SConscript')
| -rw-r--r-- | bsp/raspi2/SConscript | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/bsp/raspi2/SConscript b/bsp/raspi2/SConscript new file mode 100644 index 0000000000..c7ef7659ec --- /dev/null +++ b/bsp/raspi2/SConscript @@ -0,0 +1,14 @@ +# for module compiling +import os +from building import * + +cwd = GetCurrentDir() +objs = [] +list = os.listdir(cwd) + +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')) + +Return('objs') |
