ifeq ($(CONFIG_NSOCKET_DESCRIPTORS), xx) does not work properly because
CONFIG_NSOCKET_DESCRIPTORS is defined automatically to zero when CONFIG_NET
is disable. So this should be changed to compare with CONFIG_NET.
Change-Id: I4d8acec4a71f01d6065b001b5a154c018891d671
Signed-off-by: EunBong Song <eunb.song@samsung.com>
endif
else
-ifneq ($(CONFIG_NSOCKET_DESCRIPTORS),0)
+ifeq ($(CONFIG_NET),y)
CSRCS += lib_sendfile.c
# logic in this directory may still apply to socket descriptors
ifeq ($(CONFIG_NFILE_DESCRIPTORS),0)
-ifneq ($(CONFIG_NSOCKET_DESCRIPTORS),0)
+ifeq ($(CONFIG_NET),y)
# Socket descriptor support