summaryrefslogtreecommitdiff
path: root/bsp/n32/n32g45xml-stb/applications/SConscript
diff options
context:
space:
mode:
authorNationsHuanghanbin <[email protected]>2022-10-20 09:40:14 +0800
committerGitHub <[email protected]>2022-10-19 21:40:14 -0400
commitafe6c0386d618085fb0cc7702e9fa490be3ee7ca (patch)
tree0a76a4cc5d706e3beaa4091612556923000bfd09 /bsp/n32/n32g45xml-stb/applications/SConscript
parent88179b75a1fff14933b3a1772da3cc5fbeb5eb10 (diff)
[n32] 增加多个BSP支持 (#6543)
add bsp n32g43xcl-stb,n32g45xcl-stb,n32g45xml-stb,n32g45xrl-stb,n32g457qel-stb,n32l40xcl-stb,n32l43xml-stb,n32l43xrl-stb,n32l436_evb,n32wb45xl-evb
Diffstat (limited to 'bsp/n32/n32g45xml-stb/applications/SConscript')
-rw-r--r--bsp/n32/n32g45xml-stb/applications/SConscript15
1 files changed, 15 insertions, 0 deletions
diff --git a/bsp/n32/n32g45xml-stb/applications/SConscript b/bsp/n32/n32g45xml-stb/applications/SConscript
new file mode 100644
index 0000000000..9bb9abae89
--- /dev/null
+++ b/bsp/n32/n32g45xml-stb/applications/SConscript
@@ -0,0 +1,15 @@
+from building import *
+import os
+
+cwd = GetCurrentDir()
+src = Glob('*.c')
+CPPPATH = [cwd]
+
+group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH)
+
+list = os.listdir(cwd)
+for item in list:
+ if os.path.isfile(os.path.join(cwd, item, 'SConscript')):
+ group = group + SConscript(os.path.join(item, 'SConscript'))
+
+Return('group')