diff options
| author | chenyong <[email protected]> | 2018-11-13 09:51:18 +0800 |
|---|---|---|
| committer | chenyong <[email protected]> | 2018-11-13 09:51:18 +0800 |
| commit | 270c39708a3aaa302bcadacb3a44bb05df9dcec9 (patch) | |
| tree | 21cc6cd6bf5580fe012441e6148c5945ace3e362 /components/net/at/SConscript | |
| parent | 302d00ec76270361c518f021e18e7d351f9081fa (diff) | |
[net][at] Modify AT CLI configuration
Diffstat (limited to 'components/net/at/SConscript')
| -rw-r--r-- | components/net/at/SConscript | 8 |
1 files 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(''' |
