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

Merge pull request !347 from 刘建东/master
This commit is contained in:
openharmony_ci 2021-06-23 02:27:55 +00:00 committed by Gitee
commit 8a3d188240
1 changed files with 2 additions and 2 deletions

View File

@ -365,13 +365,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")