2015-05-12 00:12:50 +00:00
|
|
|
# Component makefile for LWIP
|
|
|
|
|
2015-09-07 23:59:59 +00:00
|
|
|
LWIP_DIR = $(lwip_ROOT)lwip/src/
|
2017-06-06 02:47:21 +00:00
|
|
|
INC_DIRS += $(LWIP_DIR)include $(ROOT)lwip/include $(lwip_ROOT)include $(LWIP_DIR)include/compat/posix $(LWIP_DIR)include/ipv4 $(LWIP_DIR)include/ipv4/lwip $(LWIP_DIR)include/lwip
|
2015-05-12 00:12:50 +00:00
|
|
|
|
|
|
|
# args for passing into compile rule generation
|
|
|
|
lwip_INC_DIR = # all in INC_DIRS, needed for normal operation
|
2017-06-06 02:47:21 +00:00
|
|
|
lwip_SRC_DIR = $(lwip_ROOT) $(LWIP_DIR)api $(LWIP_DIR)core $(LWIP_DIR)core/ipv4 $(LWIP_DIR)core/ipv6 $(LWIP_DIR)netif
|
|
|
|
lwip_SRC_DIR += $(LWIP_DIR)apps/*
|
2015-05-12 00:12:50 +00:00
|
|
|
|
|
|
|
$(eval $(call component_compile_rules,lwip))
|
|
|
|
|
2015-06-02 08:51:22 +00:00
|
|
|
# Helpful error if git submodule not initialised
|
|
|
|
$(lwip_SRC_DIR):
|
|
|
|
$(error "LWIP git submodule not installed. Please run 'git submodule init' then 'git submodule update'")
|
|
|
|
|