mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-23 15:32:25 +00:00
fcf5fcd58c
Since the lwip library is used only by the vfs_lwip plugin, this patch moves the Genode-specific support code local to the VFS plugin, easing further simplification and allowing for a tighter integration with the VFS plugin. The recipes for api/lwip and src/vfs_lwip stay separate as both parts use different licenses. Issue #4697
21 lines
487 B
Makefile
21 lines
487 B
Makefile
MIRROR_FROM_REP_DIR := \
|
|
$(shell cd $(REP_DIR); find 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 $@
|