mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-20 22:53:30 +08:00
13 lines
235 B
Python
13 lines
235 B
Python
# SConscript for sensor framework
|
|
|
|
from building import *
|
|
|
|
src = ['sensor.c']
|
|
|
|
if GetDepend('RT_USING_SENSOR_CMD'):
|
|
src += ['sensor_cmd.c']
|
|
|
|
group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_SENSOR'])
|
|
|
|
Return('group')
|