Move LwIP to API package

This fix vfs_lwip recursion on archive creation.

Ref #2335
This commit is contained in:
Ehmry - 2018-08-02 15:51:16 +02:00 committed by Norman Feske
parent 06a72facc5
commit e521e100f1
4 changed files with 25 additions and 17 deletions

View File

@ -0,0 +1,20 @@
MIRROR_FROM_REP_DIR := \
$(shell cd $(REP_DIR); find include/lwip src/lib/lwip -type f) \
lib/import/import-lwip.mk \
lib/mk/lwip.mk \
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/lwip)
MIRROR_FROM_PORT_DIR := $(shell cd $(PORT_DIR); find include src -type f)
content: $(MIRROR_FROM_REP_DIR) $(MIRROR_FROM_PORT_DIR) LICENSE
$(MIRROR_FROM_REP_DIR):
$(mirror_from_rep_dir)
$(MIRROR_FROM_PORT_DIR):
mkdir -p $(dir $@)
cp -r $(PORT_DIR)/$@ $@
LICENSE:
cp $(PORT_DIR)/src/lib/lwip/COPYING $@

View File

@ -0,0 +1 @@
2018-07-30 3436d97a6c2da7fa8787969607de21eb5707f68b

View File

@ -1,22 +1,9 @@
MIRROR_FROM_REP_DIR := \
$(shell cd $(REP_DIR); find include/lwip src/lib/lwip src/lib/vfs/lwip -type f) \
lib/import/import-lwip.mk \
lib/mk/lwip.mk \
lib/mk/vfs_lwip.mk \
recipes/src/vfs_lwip \
MIRROR_FROM_REP_DIR := src/lib/vfs/lwip lib/mk/vfs_lwip.mk
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/lwip)
MIRROR_FROM_PORT_DIR := $(shell cd $(PORT_DIR); find include src -type f)
content: $(MIRROR_FROM_REP_DIR) $(MIRROR_FROM_PORT_DIR) LICENSE
content: $(MIRROR_FROM_REP_DIR) LICENSE
$(MIRROR_FROM_REP_DIR):
$(mirror_from_rep_dir)
$(MIRROR_FROM_PORT_DIR):
mkdir -p $(dir $@)
cp -r $(PORT_DIR)/$@ $@
LICENSE:
cp $(PORT_DIR)/src/lib/lwip/COPYING $@
cp $(GENODE_DIR)/LICENSE $@

View File

@ -1,5 +1,5 @@
base
libc
lwip
nic_session
os
so