提交 e6f63495 编写于 作者: B bernard.xiong@gmail.com

Update SConscript file.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2260 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 7307055b
# for module compiling
import os
Import('RTT_ROOT')
Import('remove_components')
from building import *
objs = []
list = os.listdir(os.path.join(RTT_ROOT, 'components'))
cwd = GetCurrentDir()
list = os.listdir(cwd)
for d in list:
if d in remove_components:
for item in list:
if item in remove_components:
continue
path = os.path.join(RTT_ROOT, 'components', d)
if os.path.isfile(os.path.join(path, 'SConscript')):
objs = objs + SConscript(os.path.join(d, 'SConscript'))
if os.path.isfile(os.path.join(cwd, item, 'SConscript')):
objs = objs + SConscript(os.path.join(item, 'SConscript'))
Return('objs')
Import('RTT_ROOT')
Import('rtconfig')
from building import *
src = Split('''
cwd = GetCurrentDir()
CPPPATH = [cwd]
src = Split('''
tjpgd.c
''')
CPPPATH = [RTT_ROOT + '/components/external/tjpgd1a']
group = DefineGroup('tjpgd', src, depend = ['RTGUI_IMAGE_TJPGD'], CPPPATH = CPPPATH)
Return('group')
......
Import('rtconfig')
from building import *
cwd = GetCurrentDir()
src = Glob('*.c')
cwd = GetCurrentDir()
src = Glob('*.c')
CPPPATH = [cwd]
if rtconfig.CROSS_TOOL == 'keil':
LINKFLAGS = ' --keep __fsym_* --keep __vsym_* '
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册