diff options
Diffstat (limited to 'components/net/at/SConscript')
| -rw-r--r-- | components/net/at/SConscript | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/components/net/at/SConscript b/components/net/at/SConscript new file mode 100644 index 0000000000..2a25aaeb42 --- /dev/null +++ b/components/net/at/SConscript @@ -0,0 +1,26 @@ +from building import * + +cwd = GetCurrentDir() +path = [cwd + '/include'] + +src = Split(''' +src/at_cli.c +src/at_utils.c +''') + +if GetDepend(['AT_USING_SERVER']): + src += Split(''' + src/at_server.c + src/at_base_cmd.c + ''') + +if GetDepend(['AT_USING_CLIENT']): + src += Glob('src/at_client.c') + +if GetDepend(['AT_USING_SOCKET']): + src += Glob('at_socket/*.c') + path += [cwd + '/at_socket'] + +group = DefineGroup('AT', src, depend = ['RT_USING_AT'], CPPPATH = path) + +Return('group') |
