diff options
| author | Bernard Xiong <[email protected]> | 2019-11-21 06:56:50 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-11-21 06:56:50 +0800 |
| commit | 4064a4c7bf32986543b56a8623d56f0e1840812a (patch) | |
| tree | c86a8f6e13624370c816584934b440f47ad931f4 | |
| parent | 383509e22029971e6b8103ee22f15e3a3b093915 (diff) | |
Update SConscript
| -rw-r--r-- | bsp/essemi/es8p508x/applications/SConscript | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/bsp/essemi/es8p508x/applications/SConscript b/bsp/essemi/es8p508x/applications/SConscript index e0c84e8f14..51b0290a69 100644 --- a/bsp/essemi/es8p508x/applications/SConscript +++ b/bsp/essemi/es8p508x/applications/SConscript @@ -1,11 +1,9 @@ -Import('RTT_ROOT') -Import('rtconfig') from building import * -cwd = os.path.join(str(Dir('#')), 'applications') -src = Glob('*.c') +cwd = GetCurrentDir() +src = Glob('*.c') -CPPPATH = [cwd, str(Dir('#'))] +CPPPATH = [cwd] group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH) Return('group') |
