public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCHv2 1/3] net/lwip: add lwip-external submodule
@ 2023-06-29 12:34 Maxim Uvarov
  2023-06-29 12:34 ` [PATCHv2 2/3] net/lwip: add README.lwip Maxim Uvarov
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Maxim Uvarov @ 2023-06-29 12:34 UTC (permalink / raw)
  To: u-boot
  Cc: pbrobinson, ilias.apalodimas, joe.hershberger, rfried.dev, trini,
	goldsimon, lwip-devel, Maxim Uvarov

This commit adds the lwip library as a git submodule. I think
there has to be advantages to compile lwip inside U-boot,
i.e. use the same compiler and flags as the main code.
One of them is LTO and the other is to enable additional debug
options for network protocol during development. Also we can
copy lwip library code inside U-boot, but for now I don't want
to send all lwip code to the mailing list. So it's git submodule.

Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
---
 .gitmodules            | 3 +++
 lib/lwip/lwip-external | 1 +
 2 files changed, 4 insertions(+)
 create mode 100644 .gitmodules
 create mode 160000 lib/lwip/lwip-external

diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 0000000000..afc709af10
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,3 @@
+[submodule "lib/lwip/lwip-external"]
+	path = lib/lwip/lwip-external
+	url = https://git.savannah.nongnu.org/git/lwip.git
diff --git a/lib/lwip/lwip-external b/lib/lwip/lwip-external
new file mode 160000
index 0000000000..3fe8d2fc43
--- /dev/null
+++ b/lib/lwip/lwip-external
@@ -0,0 +1 @@
+Subproject commit 3fe8d2fc43a9b69f7ed28c63d44a7744f9c0def9
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-07-03 16:22 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-29 12:34 [PATCHv2 1/3] net/lwip: add lwip-external submodule Maxim Uvarov
2023-06-29 12:34 ` [PATCHv2 2/3] net/lwip: add README.lwip Maxim Uvarov
2023-06-30 10:01   ` Ilias Apalodimas
2023-06-30 16:33     ` Tom Rini
2023-07-03 16:22     ` Maxim Uvarov
2023-06-29 12:34 ` [PATCHv2 3/3] net/lwip: add lwip library for the network stack Maxim Uvarov
2023-06-30 10:03   ` Ilias Apalodimas
2023-06-30 10:31     ` Maxim Uvarov
2023-06-30 16:38   ` Tom Rini
2023-07-03  7:15     ` Maxim Uvarov
2023-06-29 19:10 ` [PATCHv2 1/3] net/lwip: add lwip-external submodule Simon Glass

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox