forked from xuos/xiuos
APP_Framework/Applications/:add SConscript file
APP_Framework/Framework/:add SConscript and Kconfig file
This commit is contained in:
14
APP_Framework/Applications/SConscript
Normal file
14
APP_Framework/Applications/SConscript
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
import os
|
||||||
|
Import('RTT_ROOT')
|
||||||
|
from building import *
|
||||||
|
|
||||||
|
cwd = GetCurrentDir()
|
||||||
|
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(path, 'SConscript'))
|
||||||
|
|
||||||
|
Return('objs')
|
||||||
0
APP_Framework/Framework/Kconfig
Normal file
0
APP_Framework/Framework/Kconfig
Normal file
14
APP_Framework/Framework/SConscript
Normal file
14
APP_Framework/Framework/SConscript
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
import os
|
||||||
|
Import('RTT_ROOT')
|
||||||
|
from building import *
|
||||||
|
|
||||||
|
cwd = GetCurrentDir()
|
||||||
|
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(path, 'SConscript'))
|
||||||
|
|
||||||
|
Return('objs')
|
||||||
Reference in New Issue
Block a user