From 29515a7bb9f6b5abab9bef33826089991f4d79dd Mon Sep 17 00:00:00 2001 From: Martine Lenders Date: Mon, 3 Aug 2015 22:30:46 +0200 Subject: [PATCH] pkg: initial import of lwIP package --- Makefile.dep | 5 +++++ pkg/lwip/Makefile | 11 +++++++++++ pkg/lwip/Makefile.include | 2 ++ pkg/lwip/doc.txt | 6 ++++++ pkg/lwip/patches/0001-Fix-warnings.patch | Bin 0 -> 938 bytes pkg/lwip/patches/0002-Add-RIOT-Makefiles.patch | Bin 0 -> 3176 bytes 6 files changed, 24 insertions(+) create mode 100644 pkg/lwip/Makefile create mode 100644 pkg/lwip/Makefile.include create mode 100644 pkg/lwip/doc.txt create mode 100644 pkg/lwip/patches/0001-Fix-warnings.patch create mode 100644 pkg/lwip/patches/0002-Add-RIOT-Makefiles.patch diff --git a/Makefile.dep b/Makefile.dep index 554aaf5e6a..7d78585519 100644 --- a/Makefile.dep +++ b/Makefile.dep @@ -354,6 +354,11 @@ ifneq (,$(filter posix_semaphore,$(USEMODULE))) USEMODULE += xtimer endif +ifneq (,$(filter lwip,$(USEMODULE))) + USEPKG += lwip + USEMODULE += lwip_core +endif + ifneq (,$(filter sema,$(USEMODULE))) USEMODULE += xtimer endif diff --git a/pkg/lwip/Makefile b/pkg/lwip/Makefile new file mode 100644 index 0000000000..ea3d93ed5e --- /dev/null +++ b/pkg/lwip/Makefile @@ -0,0 +1,11 @@ +PKG_NAME=lwip +PKG_URL=git://git.savannah.nongnu.org/lwip.git +PKG_VERSION=fd4a109ffa6513b28a0c780a952cef1110423717 +PKG_BUILDDIR ?= $(BINDIRBASE)/pkg/$(BOARD)/$(PKG_NAME) + +.PHONY: all + +all: git-download + $(MAKE) -C $(PKG_BUILDDIR) + +include $(RIOTBASE)/pkg/pkg.mk diff --git a/pkg/lwip/Makefile.include b/pkg/lwip/Makefile.include new file mode 100644 index 0000000000..e944a48255 --- /dev/null +++ b/pkg/lwip/Makefile.include @@ -0,0 +1,2 @@ +INCLUDES += -I$(RIOTBASE)/pkg/lwip/include \ + -I$(BINDIRBASE)/pkg/$(BOARD)/lwip/src/include diff --git a/pkg/lwip/doc.txt b/pkg/lwip/doc.txt new file mode 100644 index 0000000000..7c603ca11d --- /dev/null +++ b/pkg/lwip/doc.txt @@ -0,0 +1,6 @@ +/** + * @defgroup pkg_lwip lwIP network stack + * @ingroup pkg + * @brief Provides the lwIP network stack + * @see http://savannah.nongnu.org/projects/lwip/ + */ diff --git a/pkg/lwip/patches/0001-Fix-warnings.patch b/pkg/lwip/patches/0001-Fix-warnings.patch new file mode 100644 index 0000000000000000000000000000000000000000..be2dc43362fd059adcd7bc5c15f36cd4623f1da5 GIT binary patch literal 938 zcma)4+iuf95PjdTIJ7S@zOEhYBp{Rs8c``}qb3p$6jk=_I9`<4l`o{I^xs*>g_fd3 ztSn2rGjlF8GcAiPJn{#`h4e$gCHX?6{Xs(U(BnZEg_LsHm*FspFfVc}=@vYK=Z*Fs ze9z--s$oW$$7QW@!i;iBWrcU!SZ&7J?$zFOuMRcu*~hr15ms4af%~{9zH1o%20R=E zp~i*janEDRCizC99^uPkvik4|-1Wa=s_w9h%UtE_iZR=^8LCpaDi@nZlDpZdTUS!j ztep%$5yI4`P2xz^h9I&yUz4=ZhsrC`f{VQBnT7=)k~Y-cZG$nX(iFD6RyAVxAVqR8 z#FXyB9fna5he6;tB1!@=6wuDXe!o?I1ea;mID$PM!ww^B08{_Dhw+#JueDsP3P@GO ziS`;-zYS_@>3%Yw&lfirmy_l4>}sVOfVdQyD}<9dZN1BIs!}aG#q4<|vrnG`bmhG* zRaLwu>xsvJEN~B%_Fnb=kQ)ZBnT-x{F`KNWmsj(fzcGxrc)%{x1L}DOGyj+Enwik& zAHI9dxR12ay_3VdkC_iItiLGGQ7X%##L0PzA4Q{AFt1S;Xezz$ZLc~*)^R%IM6zn@ d5_+78Y{#Gx%cohKv~0QFKfNSi+!;EYv0wS$8z}$) literal 0 HcmV?d00001 diff --git a/pkg/lwip/patches/0002-Add-RIOT-Makefiles.patch b/pkg/lwip/patches/0002-Add-RIOT-Makefiles.patch new file mode 100644 index 0000000000000000000000000000000000000000..4b9ec25d1941e21fd4763a8b8ae05497e4399650 GIT binary patch literal 3176 zcmbuBO>dhp7{~Aa6wjfDM1+8W5Q5ez-P&rE+I4E$(==7QnARHs21&a^Kl}`o1Se2i z3CbbZfB(tvc?*|$x&$l2(JYvlp+AixLIUDogWb)1a~4h=V`h_yZ#$j?H)#S3k^!EA zuDjI-3|+_QlG(U$;JIc|8Jb!1wfp z+29G_iEEjzi9yk^uA{};|4o9G3qOCH-GBWChGzVNvoM6atJ{0_v_B-GF)0vIRTXXS zq33!7!vv-KLQv#^=4DiCTz5_00IJiqGDvgMC+$$u?8WMkcPnk7G9fD(b*ReU%zM_# zEXz97eabA2y}T&m?UAk0fhytWpjWQk{2ym$1!5{4=tnl98`UzgMvq_JLYqw&?q5)VK6!w zuvD)|4)H6^9$9O!m50T}&F%Ta^~G>FL`qq1=T~(_mt)^62w%Os?ahjBcS)+69m}^&!|bf)J;PR2*F{}dEx4zfYDUUIDBKWwXW`bQ zV2oMGV)erCjv|`6VGhUPre&Ln+mHhDO>gQ=$j4y3t%$Df;G^ia1Ad2YyCFqK4E833 zBOzVOR)UU=l!NH_|D<;^eo>0b_Z>TQ`l)s-MMUqj?Fgjy|0jpl-jG8J4Qx10Z^CLc x&Q=Pq9Lq;#t$buNTQ}2lk9AKW1#Ro5j;B}xdf#6}-<*(xXD=QIk7r|y(0^jHt#SYW literal 0 HcmV?d00001