summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKinsey Moore <kinsey.moore@oarcorp.com>2022-04-14 12:32:14 -0500
committerVijay Kumar Banerjee <vijay@rtems.org>2022-06-01 21:23:41 -0600
commit0b367b535083535896607710bbe8a46f8f6e0c74 (patch)
treeab3a45915a3a3400365c9842a2dd9a1647b510dc
parent5ad5279ca879c3cf0faf3141c84067bdf232c3a2 (diff)
lwip: Split sources into origin directories
Moving forward, each origin directory should have its own top-level COPYING.origin file to describe its license as well as a ORIGIN.origin file to describe where the code is sourced from.
-rw-r--r--COPYING.lwip25
-rw-r--r--COPYING.uLan33
-rw-r--r--ORIGIN.lwip2
-rw-r--r--ORIGIN.uLan2
-rw-r--r--README14
-rw-r--r--lwip.py10
-rw-r--r--uLan/ports/driver/tms570_emac/eth_lwip.c (renamed from lwip/ports/drivers/eth_lwip.c)0
-rw-r--r--uLan/ports/driver/tms570_emac/eth_lwip.h (renamed from lwip/ports/drivers/eth_lwip.h)0
-rw-r--r--uLan/ports/driver/tms570_emac/eth_lwip_default.h (renamed from lwip/ports/drivers/eth_lwip_default.h)0
-rw-r--r--uLan/ports/driver/tms570_emac/phy_dp83848h.c (renamed from lwip/ports/drivers/phy_dp83848h.c)0
-rw-r--r--uLan/ports/driver/tms570_emac/phy_dp83848h.h (renamed from lwip/ports/drivers/phy_dp83848h.h)0
-rw-r--r--uLan/ports/driver/tms570_emac/ti_drv_emac.h (renamed from lwip/ports/drivers/ti_drv_emac.h)0
-rw-r--r--uLan/ports/driver/tms570_emac/ti_drv_mdio.h (renamed from lwip/ports/drivers/ti_drv_mdio.h)0
-rw-r--r--uLan/ports/driver/tms570_emac/tms570_emac.h (renamed from lwip/ports/drivers/tms570_emac.h)0
-rw-r--r--uLan/ports/driver/tms570_emac/tms570_netif.c (renamed from lwip/ports/drivers/tms570_netif.c)0
-rw-r--r--uLan/ports/driver/tms570_emac/tms570_netif.h (renamed from lwip/ports/drivers/tms570_netif.h)0
-rw-r--r--uLan/ports/os/lwipopts.h (renamed from lwip/ports/os/lwipopts.h)0
-rw-r--r--uLan/ports/os/rtems/arch/cc.h (renamed from lwip/ports/os/rtems/arch/cc.h)0
-rw-r--r--uLan/ports/os/rtems/arch/perf.h (renamed from lwip/ports/os/rtems/arch/perf.h)0
-rw-r--r--uLan/ports/os/rtems/arch/sys_arch.c (renamed from lwip/ports/os/rtems/arch/sys_arch.c)0
-rw-r--r--uLan/ports/os/rtems/arch/sys_arch.h (renamed from lwip/ports/os/rtems/arch/sys_arch.h)0
21 files changed, 81 insertions, 5 deletions
diff --git a/COPYING.lwip b/COPYING.lwip
new file mode 100644
index 0000000..90465f5
--- /dev/null
+++ b/COPYING.lwip
@@ -0,0 +1,25 @@
+Copyright (c) 2001, 2002 Swedish Institute of Computer Science.
+All rights reserved.
+
+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. The name of the author may not be used to endorse or promote products
+ derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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.
+
diff --git a/COPYING.uLan b/COPYING.uLan
new file mode 100644
index 0000000..e23898b
--- /dev/null
+++ b/COPYING.uLan
@@ -0,0 +1,33 @@
+/*
+ * Copyright (c) 2001, 2002 Swedish Institute of Computer Science.
+ * All rights reserved.
+ *
+ * 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. The name of the author may not be used to endorse or promote products
+ * derived from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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.
+ *
+ * This file is part of the lwIP TCP/IP stack.
+ *
+ * Author: Adam Dunkels <adam@sics.se>
+ *
+ */
+
+
diff --git a/ORIGIN.lwip b/ORIGIN.lwip
new file mode 100644
index 0000000..c77755e
--- /dev/null
+++ b/ORIGIN.lwip
@@ -0,0 +1,2 @@
+The files under the lwip/ directory are sourced from:
+git://git.savannah.gnu.org/lwip.git
diff --git a/ORIGIN.uLan b/ORIGIN.uLan
new file mode 100644
index 0000000..8111d3d
--- /dev/null
+++ b/ORIGIN.uLan
@@ -0,0 +1,2 @@
+The files under the uLan/ directory are sourced from:
+git://git.code.sf.net/p/ulan/lwip-omk ulan-lwip-omk
diff --git a/README b/README
new file mode 100644
index 0000000..91e42ae
--- /dev/null
+++ b/README
@@ -0,0 +1,14 @@
+Overview
+--------
+
+The rtems-lwip repository serves as a central location to manage integration of
+lwIP with RTEMS in a more user-accessible manner and to provide a repository of
+network drivers for RTEMS BSPs.
+
+File Origins
+------------
+
+The sources presented here originate in one of several locations described by
+the ORIGIN.* files and whose license is described by the COPYING.* files.
+Commits adding such files should include the hash of the target repository if
+applicable.
diff --git a/lwip.py b/lwip.py
index a3eb7cb..848ff16 100644
--- a/lwip.py
+++ b/lwip.py
@@ -42,10 +42,10 @@ def build(bld):
if f[-2:] == '.c':
source_files.append(os.path.join('./lwip', f))
- for f in os.listdir('./lwip/ports/drivers'):
+ for f in os.listdir('./uLan/ports/driver/tms570_emac'):
if f[-2:] == '.c':
- driver_source.append(os.path.join('./lwip/ports/drivers', f))
- source_files.append('./lwip/ports/os/rtems/arch/sys_arch.c')
+ driver_source.append(os.path.join('./uLan/ports/driver/tms570_emac', f))
+ source_files.append('./uLan/ports/os/rtems/arch/sys_arch.c')
#source_files.append('./lwip/ports/port/sys_arch.c')
#source_files.append('./lwip/ports/port/perf.c')
@@ -57,7 +57,7 @@ def build(bld):
bld(features ='c',
target='lwip_obj',
- includes='./include ./lwip/src/include lwip/ports/port/include ./lwip/ports/os ./lwip/ports/drivers ./lwip/ports/os/rtems',
+ includes='./include ./lwip/src/include ./uLan/ports/os ./uLan/ports/driver/tms570_emac ./uLan/ports/os/rtems',
source=source_files,
)
# bld(features ='c',
@@ -74,4 +74,4 @@ def build(bld):
source='./lwip/test/sample_app.c',
use='lwip',
lib=['rtemscpu', 'rtemsbsp', 'rtemstest', 'lwip'],
- includes='./include ./lwip/ports/os/rtems ./lwip/ports/os ./lwip/src/include ./lwip/ports/os/rtems ./lwip/test/' + os.path.relpath(os.path.join(arch_lib_path,'include')))
+ includes='./include ./uLan/ports/os/rtems ./uLan/ports/os ./lwip/src/include ./uLan/ports/os/rtems ./lwip/test/' + os.path.relpath(os.path.join(arch_lib_path,'include')))
diff --git a/lwip/ports/drivers/eth_lwip.c b/uLan/ports/driver/tms570_emac/eth_lwip.c
index b1ae4bb..b1ae4bb 100644
--- a/lwip/ports/drivers/eth_lwip.c
+++ b/uLan/ports/driver/tms570_emac/eth_lwip.c
diff --git a/lwip/ports/drivers/eth_lwip.h b/uLan/ports/driver/tms570_emac/eth_lwip.h
index a9c0325..a9c0325 100644
--- a/lwip/ports/drivers/eth_lwip.h
+++ b/uLan/ports/driver/tms570_emac/eth_lwip.h
diff --git a/lwip/ports/drivers/eth_lwip_default.h b/uLan/ports/driver/tms570_emac/eth_lwip_default.h
index 6194d06..6194d06 100644
--- a/lwip/ports/drivers/eth_lwip_default.h
+++ b/uLan/ports/driver/tms570_emac/eth_lwip_default.h
diff --git a/lwip/ports/drivers/phy_dp83848h.c b/uLan/ports/driver/tms570_emac/phy_dp83848h.c
index d20f669..d20f669 100644
--- a/lwip/ports/drivers/phy_dp83848h.c
+++ b/uLan/ports/driver/tms570_emac/phy_dp83848h.c
diff --git a/lwip/ports/drivers/phy_dp83848h.h b/uLan/ports/driver/tms570_emac/phy_dp83848h.h
index 58d9f04..58d9f04 100644
--- a/lwip/ports/drivers/phy_dp83848h.h
+++ b/uLan/ports/driver/tms570_emac/phy_dp83848h.h
diff --git a/lwip/ports/drivers/ti_drv_emac.h b/uLan/ports/driver/tms570_emac/ti_drv_emac.h
index 54f22c8..54f22c8 100644
--- a/lwip/ports/drivers/ti_drv_emac.h
+++ b/uLan/ports/driver/tms570_emac/ti_drv_emac.h
diff --git a/lwip/ports/drivers/ti_drv_mdio.h b/uLan/ports/driver/tms570_emac/ti_drv_mdio.h
index e115231..e115231 100644
--- a/lwip/ports/drivers/ti_drv_mdio.h
+++ b/uLan/ports/driver/tms570_emac/ti_drv_mdio.h
diff --git a/lwip/ports/drivers/tms570_emac.h b/uLan/ports/driver/tms570_emac/tms570_emac.h
index 26993e9..26993e9 100644
--- a/lwip/ports/drivers/tms570_emac.h
+++ b/uLan/ports/driver/tms570_emac/tms570_emac.h
diff --git a/lwip/ports/drivers/tms570_netif.c b/uLan/ports/driver/tms570_emac/tms570_netif.c
index 8d14687..8d14687 100644
--- a/lwip/ports/drivers/tms570_netif.c
+++ b/uLan/ports/driver/tms570_emac/tms570_netif.c
diff --git a/lwip/ports/drivers/tms570_netif.h b/uLan/ports/driver/tms570_emac/tms570_netif.h
index 325249a..325249a 100644
--- a/lwip/ports/drivers/tms570_netif.h
+++ b/uLan/ports/driver/tms570_emac/tms570_netif.h
diff --git a/lwip/ports/os/lwipopts.h b/uLan/ports/os/lwipopts.h
index 50ac639..50ac639 100644
--- a/lwip/ports/os/lwipopts.h
+++ b/uLan/ports/os/lwipopts.h
diff --git a/lwip/ports/os/rtems/arch/cc.h b/uLan/ports/os/rtems/arch/cc.h
index 84138ff..84138ff 100644
--- a/lwip/ports/os/rtems/arch/cc.h
+++ b/uLan/ports/os/rtems/arch/cc.h
diff --git a/lwip/ports/os/rtems/arch/perf.h b/uLan/ports/os/rtems/arch/perf.h
index 1f799b3..1f799b3 100644
--- a/lwip/ports/os/rtems/arch/perf.h
+++ b/uLan/ports/os/rtems/arch/perf.h
diff --git a/lwip/ports/os/rtems/arch/sys_arch.c b/uLan/ports/os/rtems/arch/sys_arch.c
index ca7f8be..ca7f8be 100644
--- a/lwip/ports/os/rtems/arch/sys_arch.c
+++ b/uLan/ports/os/rtems/arch/sys_arch.c
diff --git a/lwip/ports/os/rtems/arch/sys_arch.h b/uLan/ports/os/rtems/arch/sys_arch.h
index c89abd4..c89abd4 100644
--- a/lwip/ports/os/rtems/arch/sys_arch.h
+++ b/uLan/ports/os/rtems/arch/sys_arch.h