From 5910ae4170e2ebaca9fc05ee87aef167b533d586 Mon Sep 17 00:00:00 2001 From: armink Date: Fri, 18 Aug 2017 11:29:26 +0800 Subject: [PATCH] [NET] Add telnet app to netutils. --- components/net/netutils/README.md | 1 + components/net/netutils/SConscript | 10 ++++++++++ components/net/{lwip-2.0.2/apps => netutils}/telnet.c | 0 3 files changed, 11 insertions(+) create mode 100644 components/net/netutils/README.md create mode 100644 components/net/netutils/SConscript rename components/net/{lwip-2.0.2/apps => netutils}/telnet.c (100%) diff --git a/components/net/netutils/README.md b/components/net/netutils/README.md new file mode 100644 index 0000000000..49545bab32 --- /dev/null +++ b/components/net/netutils/README.md @@ -0,0 +1 @@ +Some net utils which using standard interface such as BSD Sockets. \ No newline at end of file diff --git a/components/net/netutils/SConscript b/components/net/netutils/SConscript new file mode 100644 index 0000000000..853b94a857 --- /dev/null +++ b/components/net/netutils/SConscript @@ -0,0 +1,10 @@ +from building import * + +cwd = GetCurrentDir() +src = Glob('*.c') + +CPPPATH = [cwd] + +group = DefineGroup('LwIP', src, depend = ['RT_USING_NETUTILS'], CPPPATH = CPPPATH) + +Return('group') \ No newline at end of file diff --git a/components/net/lwip-2.0.2/apps/telnet.c b/components/net/netutils/telnet.c similarity index 100% rename from components/net/lwip-2.0.2/apps/telnet.c rename to components/net/netutils/telnet.c