mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-06-02 04:37:05 +08:00
[BSP][Nuclei] Pretty source code
Signed-off-by: Huaqi Fang <578567190@qq.com>
This commit is contained in:
@@ -1,14 +1,14 @@
|
|||||||
# for module compiling
|
# for module compiling
|
||||||
import os
|
import os
|
||||||
Import('RTT_ROOT')
|
Import('RTT_ROOT')
|
||||||
|
from building import *
|
||||||
|
|
||||||
cwd = str(Dir('#'))
|
cwd = GetCurrentDir()
|
||||||
objs = []
|
objs = []
|
||||||
list = os.listdir(cwd)
|
list = os.listdir(cwd)
|
||||||
|
|
||||||
ASFLAGS = ' -I' + cwd
|
ASFLAGS = ' -I' + cwd
|
||||||
|
|
||||||
|
|
||||||
for d in list:
|
for d in list:
|
||||||
path = os.path.join(cwd, d)
|
path = os.path.join(cwd, d)
|
||||||
if os.path.isfile(os.path.join(path, 'SConscript')):
|
if os.path.isfile(os.path.join(path, 'SConscript')):
|
||||||
|
|||||||
Reference in New Issue
Block a user