diff options
| author | [email protected] <[email protected]> | 2012-06-01 06:52:34 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2012-06-01 06:52:34 +0000 |
| commit | 7fddcb0e355a572504181d3e04943acebd5e4fae (patch) | |
| tree | 0bffee169df568742212508933e0f3921af1371b /components/drivers/serial/SConscript | |
| parent | b862d16f3fc1baa5a6530012953caf13d6571509 (diff) | |
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
Diffstat (limited to 'components/drivers/serial/SConscript')
| -rw-r--r-- | components/drivers/serial/SConscript | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/components/drivers/serial/SConscript b/components/drivers/serial/SConscript new file mode 100644 index 0000000000..5e66156c82 --- /dev/null +++ b/components/drivers/serial/SConscript @@ -0,0 +1,8 @@ +from building import *
+
+cwd = GetCurrentDir()
+src = Glob('*.c')
+CPPPATH = [cwd + '/../include']
+group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_SERIAL'], CPPPATH = CPPPATH)
+
+Return('group')
|
