add components initialization (draft).

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1921 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
bernard.xiong@gmail.com
2012-01-15 13:17:09 +00:00
parent cb98336dc1
commit d74a78795d
3 changed files with 91 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
from building import *
cwd = GetCurrentDir()
src = Glob('*.c')
CPPPATH = [cwd]
group = DefineGroup('ComponentsInit', src, depend = ['RT_USING_COMPONENTS_INIT'], CPPPATH = CPPPATH)
Return('group')