summaryrefslogtreecommitdiff
path: root/components/drivers/serial/SConscript
diff options
context:
space:
mode:
authorShell <[email protected]>2024-03-28 23:42:56 +0800
committerGitHub <[email protected]>2024-03-28 23:42:56 +0800
commit83e95bdff4c48c661b50e1eec56d5fd293b28fbb (patch)
tree9e0c2065950f0804e5009da71c8e0f590224cade /components/drivers/serial/SConscript
parent40e26f4909fa61ada775ba86b44d8300aaf5d250 (diff)
sync smart & dfs (#8672)
Signed-off-by: xqyjlj <[email protected]> Signed-off-by: Shell <[email protected]> Co-authored-by: xqyjlj <[email protected]>
Diffstat (limited to 'components/drivers/serial/SConscript')
-rw-r--r--components/drivers/serial/SConscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/drivers/serial/SConscript b/components/drivers/serial/SConscript
index 2211134ef3..7ee41a4331 100644
--- a/components/drivers/serial/SConscript
+++ b/components/drivers/serial/SConscript
@@ -8,6 +8,9 @@ src = []
if not GetDepend(['RT_USING_SERIAL']):
Return('group')
+if GetDepend(['RT_USING_SMART']):
+ src += Glob('serial_tty.c')
+
if GetDepend(['RT_USING_SERIAL_V2']):
src += ['serial_v2.c']
else: