Fix build when NET_LWIP_SACK is disabled

Allows to disable NET_LWIP_SACK in the kernel configuration.

Signed-off-by: Zbigniew Bodek <zbigniew.bodek@huawei.com>
Change-Id: Ibcde4a811e67d61bc713d405414c4991cbc1bdd3
This commit is contained in:
Zbigniew Bodek 2020-10-09 17:19:21 +08:00 committed by Wojciech Zmuda WX948747
parent e559c86d77
commit 89fb5eb32f
1 changed files with 4 additions and 0 deletions

View File

@ -33,6 +33,10 @@ MODULE_NAME := $(notdir $(shell pwd))
LOCAL_SRCS := $(wildcard *.c)
ifneq ($(LOSCFG_NET_LWIP_SACK), y)
LOCAL_SRCS := $(filter-out net_syscall.c, $(LOCAL_SRCS))
endif
LOCAL_INCLUDE := -I $(LITEOSTOPDIR)/kernel/base/include \
-I $(LITEOSTOPDIR)/kernel/extended/dynload/include \
-I $(LITEOSTOPDIR)/fs/include \