2015-05-12 00:12:50 +00:00
|
|
|
# Component makefile for LWIP
|
|
|
|
|
|
|
|
LWIP_DIR = $(ROOT)lwip/lwip/src/
|
|
|
|
INC_DIRS += $(LWIP_DIR)/include $(ROOT)/lwip/include $(ROOT)lwip/include $(LWIP_DIR)include/ipv4 $(LWIP_DIR)include/ipv4/lwip
|
|
|
|
|
|
|
|
# args for passing into compile rule generation
|
|
|
|
lwip_ROOT = $(ROOT)/lwip
|
|
|
|
lwip_INC_DIR = # all in INC_DIRS, needed for normal operation
|
|
|
|
lwip_SRC_DIR = $(ROOT)/lwip $(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
|
2015-05-21 02:59:23 +00:00
|
|
|
lwip_CFLAGS = $(CFLAGS) -Wno-address
|
2015-05-12 00:12:50 +00:00
|
|
|
|
|
|
|
$(eval $(call component_compile_rules,lwip))
|
|
|
|
|