From 270c39708a3aaa302bcadacb3a44bb05df9dcec9 Mon Sep 17 00:00:00 2001 From: chenyong <1521761801@qq.com> Date: Tue, 13 Nov 2018 09:51:18 +0800 Subject: [PATCH] [net][at] Modify AT CLI configuration --- components/net/at/SConscript | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/net/at/SConscript b/components/net/at/SConscript index 2a25aaeb42..81df9738b8 100644 --- a/components/net/at/SConscript +++ b/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('''