from building import *
import os
Import('esconfig')
cwd=os.getcwd()
include_path=[
    'arm-m/include',
    'common/cmsis']
include_path=[os.path.realpath(i) for i in include_path]
src = Glob('arm-m/src/*.c')
src += Glob('arm-m/'+esconfig.CPU+'/'+esconfig.CROSS_TOOL+'/*.s')

group = DefineGroup('LiteOS/arch', src, depend = [''], CPPPATH = include_path)

Return('group')
