mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-25 08:21:08 +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
33 lines
733 B
Makefile
33 lines
733 B
Makefile
#
|
|
# lwIP TCP/IP library
|
|
#
|
|
# The library implements TCP and UDP as well as DNS and DHCP.
|
|
#
|
|
|
|
LWIP_PORT_DIR := $(call select_from_ports,lwip)
|
|
LWIPDIR := $(LWIP_PORT_DIR)/src/lib/lwip/src
|
|
|
|
-include $(LWIPDIR)/Filelists.mk
|
|
|
|
# Core files
|
|
SRC_C += $(notdir $(COREFILES))
|
|
|
|
# IPv4 files
|
|
SRC_C += $(notdir $(CORE4FILES))
|
|
|
|
# IPv6 files
|
|
SRC_C += $(notdir $(CORE6FILES))
|
|
|
|
# Network interface files
|
|
SRC_C += $(notdir $(NETIFFILES))
|
|
|
|
INC_DIR += $(LWIP_PORT_DIR)/include/lwip \
|
|
$(LWIPDIR)/include \
|
|
$(LWIPDIR)/include/ipv4 \
|
|
$(LWIPDIR)/include/api \
|
|
$(LWIPDIR)/include/netif \
|
|
$(REP_DIR)/src/lib/lwip/include
|
|
|
|
vpath %.c $(sort $(dir \
|
|
$(COREFILES) $(CORE4FILES) $(CORE6FILES) $(NETIFFILES)))
|