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:
parent
e559c86d77
commit
89fb5eb32f
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue