Skip to content

Commit 270c397

Browse files
committed
[net][at] Modify AT CLI configuration
1 parent 302d00e commit 270c397

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

components/net/at/SConscript

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ from building import *
33
cwd = GetCurrentDir()
44
path = [cwd + '/include']
55

6-
src = Split('''
7-
src/at_cli.c
8-
src/at_utils.c
9-
''')
6+
src = Glob('src/at_utils.c')
7+
8+
if GetDepend(['AT_USING_CLI']):
9+
src += Glob('src/at_cli.c')
1010

1111
if GetDepend(['AT_USING_SERVER']):
1212
src += Split('''

0 commit comments

Comments
 (0)