SConscript 430 B

123456789101112131415161718192021
  1. from building import *
  2. group = []
  3. if not GetDepend(['RT_USING_THERMAL']):
  4. Return('group')
  5. cwd = GetCurrentDir()
  6. CPPPATH = [cwd + '/../include']
  7. src = ['thermal.c', 'thermal_dm.c']
  8. if GetDepend(['RT_THERMAL_SCMI']):
  9. src += ['thermal-scmi.c']
  10. if GetDepend(['RT_THERMAL_COOL_PWM_FAN']):
  11. src += ['thermal-cool-pwm-fan.c']
  12. group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
  13. Return('group')