chore: update lwip_enhanced lwip version to 2.1.2

update lwip version to 2.1.2 for lwip_enhanced

close: #I3VXAP

Signed-off-by: liujiandong <liujiandong1@huawei.com>
This commit is contained in:
YOUR_NAME 2021-06-17 14:44:18 +08:00
parent e42cb26b14
commit 309e7569f8
1 changed files with 2 additions and 2 deletions

4
tools/build/mk/los_config.mk Executable file → Normal file
View File

@ -359,13 +359,13 @@ ifeq ($(LOSCFG_NET_LWIP_SACK_2_1), y)
LITEOS_CMACRO += $(LWIP_MACROS)
else ifeq ($(LOSCFG_NET_LWIP_SACK_2_0), y)
LWIPDIR := $(LITEOSTHIRDPARTY)/lwip_enhanced
LWIPDIR := $(LITEOSTHIRDPARTY)/lwip_enhanced/src
LITEOS_BASELIB += -llwip
LIB_SUBDIRS += $(LWIPDIR)
LITEOS_LWIP_SACK_INCLUDE += \
-I $(LWIPDIR)/include \
-I $(LITEOSTOPDIR)/net/mac
LWIP_MACROS += -DLWIP_CONFIG_FILE=\"lwip/lwipopts.h\"
LWIP_MACROS += -DLWIP_CONFIG_FILE=\"lwip/lwipopts.h\" -DLWIP_LITEOS_A_COMPAT
LITEOS_CMACRO += $(LWIP_MACROS)
else
$(error "unknown lwip version")