Explorar el Código

[net][at] Modify AT CLI configuration

chenyong hace 6 años
padre
commit
270c39708a
Se han modificado 1 ficheros con 4 adiciones y 4 borrados
  1. 4 4
      components/net/at/SConscript

+ 4 - 4
components/net/at/SConscript

@@ -3,10 +3,10 @@ from building import *
 cwd = GetCurrentDir()
 path = [cwd + '/include']
 
-src = Split('''
-src/at_cli.c
-src/at_utils.c
-''')
+src = Glob('src/at_utils.c')
+
+if GetDepend(['AT_USING_CLI']):
+    src += Glob('src/at_cli.c')
 
 if GetDepend(['AT_USING_SERVER']):
     src += Split('''