diff options
| author | 勤为本 <[email protected]> | 2017-08-23 15:46:51 +0800 |
|---|---|---|
| committer | 勤为本 <[email protected]> | 2017-08-23 15:46:51 +0800 |
| commit | 838c63f3651c2dab2f90e3f30e09c86faeccb9fd (patch) | |
| tree | cd642009b1460699629d66b9c9c4f449a5ad7563 /bsp/ls1cdev/drivers/SConscript | |
| parent | 7129d77bee6e1016f849290dbd5aa33874548486 (diff) | |
添加龙芯1C片内网卡的驱动(原创作者是chinesebear,https://github.com/chinesebear/rtt-net)
Diffstat (limited to 'bsp/ls1cdev/drivers/SConscript')
| -rw-r--r-- | bsp/ls1cdev/drivers/SConscript | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bsp/ls1cdev/drivers/SConscript b/bsp/ls1cdev/drivers/SConscript index 6c6d2c7adb..3e76809efb 100644 --- a/bsp/ls1cdev/drivers/SConscript +++ b/bsp/ls1cdev/drivers/SConscript @@ -7,4 +7,14 @@ CPPPATH = [cwd] group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH) +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')) + +group = group + objs + Return('group') |
