Browse Source

APP_Framework/Applications/:add SConscript file

APP_Framework/Framework/:add SConscript and Kconfig file
pull/3/head
chunyexixiaoyu 1 year ago
parent
commit
d73170d1c6
  1. 14
      APP_Framework/Applications/SConscript
  2. 0
      APP_Framework/Framework/Kconfig
  3. 14
      APP_Framework/Framework/SConscript

14
APP_Framework/Applications/SConscript

@ -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

14
APP_Framework/Framework/SConscript

@ -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')
Loading…
Cancel
Save