diff options
| author | xuzhuoyi <[email protected]> | 2019-04-07 00:53:39 +0800 |
|---|---|---|
| committer | xuzhuoyi <[email protected]> | 2019-04-07 00:53:39 +0800 |
| commit | a0ae9d24d570edaea21dfddc15e4d5b6aba088c2 (patch) | |
| tree | 643483e4402d4a6d31531c75ec66c884bad9ca97 | |
| parent | 938d9fa3d9788b9504a8c23817fb4d007d8b4471 (diff) | |
[bsp][gd32e230k-start] Update SConscript
| -rw-r--r-- | bsp/gd32e230k-start/SConscript | 3 | ||||
| -rw-r--r-- | bsp/gd32e230k-start/drivers/SConscript | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/bsp/gd32e230k-start/SConscript b/bsp/gd32e230k-start/SConscript index fe0ae941ae..20f7689c53 100644 --- a/bsp/gd32e230k-start/SConscript +++ b/bsp/gd32e230k-start/SConscript @@ -1,8 +1,9 @@ # for module compiling import os Import('RTT_ROOT') +from building import * -cwd = str(Dir('#')) +cwd = GetCurrentDir() objs = [] list = os.listdir(cwd) diff --git a/bsp/gd32e230k-start/drivers/SConscript b/bsp/gd32e230k-start/drivers/SConscript index 45fd672f5f..df3af3519e 100644 --- a/bsp/gd32e230k-start/drivers/SConscript +++ b/bsp/gd32e230k-start/drivers/SConscript @@ -1,8 +1,6 @@ -Import('RTT_ROOT') -Import('rtconfig') from building import * -cwd = os.path.join(str(Dir('#')), 'drivers') +cwd = GetCurrentDir() # add the general drivers. src = Split(""" |
