1b22cc088e
mbedTLS version 2.1.0 (current stable) Has some known issues/hacks: * Entropy source not hooked in at all * Linker script has a messy hack in it to store some (not all) data in irom
18 lines
791 B
Makefile
18 lines
791 B
Makefile
# Component makefile for LWIP
|
|
|
|
LWIP_DIR = $(lwip_ROOT)lwip/src/
|
|
INC_DIRS += $(LWIP_DIR)include $(ROOT)lwip/include $(lwip_ROOT)include $(LWIP_DIR)include/posix $(LWIP_DIR)include/ipv4 $(LWIP_DIR)include/ipv4/lwip $(LWIP_DIR)include/lwip
|
|
|
|
# args for passing into compile rule generation
|
|
lwip_INC_DIR = # all in INC_DIRS, needed for normal operation
|
|
lwip_SRC_DIR = $(lwip_ROOT) $(LWIP_DIR)api $(LWIP_DIR)core $(LWIP_DIR)core/ipv4 $(LWIP_DIR)netif
|
|
|
|
# LWIP 1.4.1 generates a single warning so we need to disable -Werror when building it
|
|
lwip_CFLAGS = $(CFLAGS) -Wno-address
|
|
|
|
$(eval $(call component_compile_rules,lwip))
|
|
|
|
# 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'")
|
|
|