summaryrefslogtreecommitdiff
path: root/components/drivers/thermal/SConscript
diff options
context:
space:
mode:
authorGuEe-GUI <[email protected]>2024-11-27 13:32:52 +0800
committerRbb666 <[email protected]>2024-12-02 21:17:24 +0800
commit0de160f4180bd9ed0a453a88c84911973db9ddde (patch)
treef7f01cbdcd5d9d5b5af50dbed24704f2e9ae81d9 /components/drivers/thermal/SConscript
parent429c0c52570491a87fc4b3050d7d88f85a616a10 (diff)
[DM/THERMAL] Add PWM cool fan
PWM fan is the most populate cool device. Signed-off-by: GuEe-GUI <[email protected]>
Diffstat (limited to 'components/drivers/thermal/SConscript')
-rw-r--r--components/drivers/thermal/SConscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/drivers/thermal/SConscript b/components/drivers/thermal/SConscript
index ef7ea04398..d33d2d2046 100644
--- a/components/drivers/thermal/SConscript
+++ b/components/drivers/thermal/SConscript
@@ -10,6 +10,9 @@ CPPPATH = [cwd + '/../include']
src = ['thermal.c', 'thermal_dm.c']
+if GetDepend(['RT_THERMAL_COOL_PWM_FAN']):
+ src += ['thermal-cool-pwm-fan.c']
+
group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
Return('group')