From 386a8d37e5226cf52f4d88646c4d73b187d9b990 Mon Sep 17 00:00:00 2001 From: sunghan Date: Mon, 4 Sep 2017 11:21:03 +0900 Subject: [PATCH] apps/netutils: remove apps/netutils All of components were moved to external. Let's remove unnessary folder. --- apps/netutils/.gitignore | 16 ------------- apps/netutils/Make.defs | 54 -------------------------------------------- apps/netutils/Makefile | 55 --------------------------------------------- external/README_PROTOCOL.md | 16 +++++++------ 4 files changed, 9 insertions(+), 132 deletions(-) delete mode 100644 apps/netutils/.gitignore delete mode 100644 apps/netutils/Make.defs delete mode 100644 apps/netutils/Makefile diff --git a/apps/netutils/.gitignore b/apps/netutils/.gitignore deleted file mode 100644 index 489c3d5..0000000 --- a/apps/netutils/.gitignore +++ /dev/null @@ -1,16 +0,0 @@ -/Make.dep -/Make.str -/.depend -/.strings -/http_*.c -/smtp_*.c -/netutil-strings.h -/makestrings -*.asm -*.rel -*.lst -*.sym -*.adb -*.lib -*.src -/Kconfig* diff --git a/apps/netutils/Make.defs b/apps/netutils/Make.defs deleted file mode 100644 index 763f2e4..0000000 --- a/apps/netutils/Make.defs +++ /dev/null @@ -1,54 +0,0 @@ -########################################################################### -# -# Copyright 2016-2017 Samsung Electronics All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, -# either express or implied. See the License for the specific -# language governing permissions and limitations under the License. -# -########################################################################### -############################################################################ -# apps/netutils/Make.defs -# Adds selected applications to apps/ build -# -# Copyright (C) 2012, 2016 Gregory Nutt. All rights reserved. -# Author: Gregory Nutt -# -# Redistribution and use in include and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# -# 1. Redistributions of include code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in -# the documentation and/or other materials provided with the -# distribution. -# 3. Neither the name NuttX nor the names of its contributors may be -# used to endorse or promote products derived from this software -# without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, -# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS -# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED -# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN -# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. -# -############################################################################ - -include $(wildcard netutils/*/Make.defs) diff --git a/apps/netutils/Makefile b/apps/netutils/Makefile deleted file mode 100644 index 609d00f..0000000 --- a/apps/netutils/Makefile +++ /dev/null @@ -1,55 +0,0 @@ -########################################################################### -# -# Copyright 2016-2017 Samsung Electronics All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, -# either express or implied. See the License for the specific -# language governing permissions and limitations under the License. -# -########################################################################### -############################################################################ -# external/Makefile -# -# Copyright (C) 2011-2012, 2016 Gregory Nutt. All rights reserved. -# Author: Gregory Nutt -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in -# the documentation and/or other materials provided with the -# distribution. -# 3. Neither the name NuttX nor the names of its contributors may be -# used to endorse or promote products derived from this software -# without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, -# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS -# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED -# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN -# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. -# -############################################################################ - -MENUDESC = "Network Utilities" - -include $(APPDIR)/Directory.mk diff --git a/external/README_PROTOCOL.md b/external/README_PROTOCOL.md index 25a405c..91f1693 100644 --- a/external/README_PROTOCOL.md +++ b/external/README_PROTOCOL.md @@ -2,12 +2,12 @@ ## Contents -> [Network Applications](#network-applications) -> [Tips for Using DHCPC](#tips-for-using-dhcpc) +> [Network Protocols](#network-protocols) +> [How to enable](#how-to-enable) -## Network Applications +## Network Protocols -This directory contains most of the network applications. +This directory contains most of the network protocols. include: dhcpc - Dynamic Host Configuration Protocol (DHCP) client. @@ -46,10 +46,12 @@ include: http://www.drdobbs.com/web-development/an-embeddable-lightweight-xml-rpc-server/184405364. See external/include/protocols/cJSON.h for interface information. -## Tips for Using DHCPC +## How to enable -If you use DHCPC, this configuration network option is required. +There protocols are controled by menuconfig. And they are in *"Networking Support"* - *"Protocols"* menu. +For example, if you use DHCPC, this configuration network option is required. ``` CONFIG_NETUTILS_DHCPC=y ``` -This config is in *"Networking Support"* - *"Protocols"* menu. + +Be aware of being in network menu, not in external libraries. -- 2.7.4