mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
pkg: initial import of lwIP package
This commit is contained in:
parent
f626ee5969
commit
29515a7bb9
@ -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
|
||||
|
11
pkg/lwip/Makefile
Normal file
11
pkg/lwip/Makefile
Normal file
@ -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
|
2
pkg/lwip/Makefile.include
Normal file
2
pkg/lwip/Makefile.include
Normal file
@ -0,0 +1,2 @@
|
||||
INCLUDES += -I$(RIOTBASE)/pkg/lwip/include \
|
||||
-I$(BINDIRBASE)/pkg/$(BOARD)/lwip/src/include
|
6
pkg/lwip/doc.txt
Normal file
6
pkg/lwip/doc.txt
Normal file
@ -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/
|
||||
*/
|
BIN
pkg/lwip/patches/0001-Fix-warnings.patch
Normal file
BIN
pkg/lwip/patches/0001-Fix-warnings.patch
Normal file
Binary file not shown.
BIN
pkg/lwip/patches/0002-Add-RIOT-Makefiles.patch
Normal file
BIN
pkg/lwip/patches/0002-Add-RIOT-Makefiles.patch
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user