mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-25 16:31:06 +00:00
21 lines
500 B
Makefile
21 lines
500 B
Makefile
|
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 $@
|