diff options
| author | Bernard Xiong <[email protected]> | 2014-11-01 09:09:52 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2014-11-01 09:09:52 +0800 |
| commit | 18cd95688d8e5f040329d32f12e217d3f6a6e830 (patch) | |
| tree | d489cf7ac40fb56863a256d5324d27a891fceb93 /components/drivers/sensors/SConscript | |
| parent | b84123b0b42f64a659b15887d196159d90b72810 (diff) | |
[Drivers] Add sensor framework
Diffstat (limited to 'components/drivers/sensors/SConscript')
| -rw-r--r-- | components/drivers/sensors/SConscript | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/components/drivers/sensors/SConscript b/components/drivers/sensors/SConscript new file mode 100644 index 0000000000..14a7cd2450 --- /dev/null +++ b/components/drivers/sensors/SConscript @@ -0,0 +1,12 @@ +# SConscript for sensor framework + +from building import * + +cwd = GetCurrentDir() +src = Glob('*.c') + Glob('*.cpp') +CPPPATH = [cwd, cwd + '/../include'] + +group = DefineGroup('Sensors', src, depend = ['RT_USING_SENSOR', 'RT_USING_DEVICE'], CPPPATH = CPPPATH) + +Return('group') + |
