diff options
| author | Bernard Xiong <[email protected]> | 2018-11-13 10:19:28 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-11-13 10:19:28 +0800 |
| commit | f6783c6f02e5e6ec513f9ce55ae64f8dc2ee5dd9 (patch) | |
| tree | 21cc6cd6bf5580fe012441e6148c5945ace3e362 | |
| parent | 302d00ec76270361c518f021e18e7d351f9081fa (diff) | |
| parent | 270c39708a3aaa302bcadacb3a44bb05df9dcec9 (diff) | |
Merge pull request #1971 from Lawlieta/at
[net][at] Modify AT CLI configuration
| -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(''' |
