dzzxzz@gmail.com 7fddcb0e35 add serial device driver framework
and implement the example in MB9BF506R branch

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2145 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-01 06:52:34 +00:00

9 lines
216 B
Python

from building import *
cwd = GetCurrentDir()
src = Glob('*.c')
CPPPATH = [cwd + '/../include']
group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_SERIAL'], CPPPATH = CPPPATH)
Return('group')