!330 修改lwip_enhanced编译脚本,更新lwip_enhanced lwip版本到2.1.2

Merge pull request !330 from 刘建东/pr_329
This commit is contained in:
openharmony_ci 2021-06-17 17:01:38 +08:00 committed by Gitee
commit 07fb6c150e
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")