[PATCH 02/15] net-lwip: import lwIP library under lib/lwip
Tom Rini
trini at konsulko.com
Thu May 23 17:02:39 CEST 2024
On Wed, May 22, 2024 at 06:00:02PM +0200, Jerome Forissier wrote:
> Import the Lightweight IP (lwIP) library as lib/lwip. The code is built
> when CONFIG_NET_LWIP=y.
>
> The lwIP code was imported with the following commands:
>
> (cd /tmp && git clone https://git.savannah.gnu.org/git/lwip.git -b STABLE-2_2_0_RELEASE)
> mkdir -p lib/lwip
> cp -R /tmp/lwip/src/{api,core,include} lib/lwip/
> mkdir -p lib/lwip/netif && cp /tmp/lwip/src/netif/ethernet.c lib/lwip/netif/
> mkdir -p lib/lwip/apps/tftp && cp /tmp/lwip/src/apps/tftp/tftp.c lib/lwip/apps/tftp/
> mkdir -p lib/lwip/apps/http && cp /tmp/lwip/src/apps/http/http_client.c lib/lwip/apps/http/
>
> The list of object files added to lib/liwip/Makefile was given by:
>
> (cd lib/lwip && find . -name \*.c | sort | sed 's@\./@\t@' | sed 's/\.c$/.o \\/') >>lib/liwip/Makefile
>
> These files are adaptation layers written specially for U-Boot:
>
> lib/lwip/u-boot/arch/cc.h
> lib/lwip/u-boot/arch/sys_arch.h (empty)
> lib/lwip/u-boot/limits.h (empty)
> lib/lwip/u-boot/lwipopts.h
>
> They were initially contributed by Maxim in a previous RFC patch series.
>
> Signed-off-by: Jerome Forissier <jerome.forissier at linaro.org>
> Co-developed-by: Maxim Uvarov <muvarov at gmail.com>
> Cc: Maxim Uvarov <muvarov at gmail.com>
As I believe I've said before, this needs to be a subtree moving
forward.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20240523/2870d9cd/attachment.sig>
More information about the U-Boot
mailing list