zephyr/subsys/net/ip/Makefile
Tomasz Bursztyka bf964cdd4c net: Renaming net nbuf API to net pkt API
There have been long lasting confusion between net_buf and net_nbuf.
While the first is actually a buffer, the second one is not. It's a
network buffer descriptor. More precisely it provides meta data about a
network packet, and holds the chain of buffer fragments made of net_buf.

Thus renaming net_nbuf to net_pkt and all names around it as well
(function, Kconfig option, ..).

Though net_pkt if the new name, it still inherit its logic from net_buf.
'
This patch is the first of a serie that will separate completely net_pkt
from net_buf.

Change-Id: Iecb32d2a0d8f4647692e5328e54b5c35454194cd
Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
2017-04-21 14:19:50 +03:00

31 lines
804 B
Makefile

ccflags-$(CONFIG_NEWLIB_LIBC) += -D__LINUX_ERRNO_EXTENSIONS__
obj-y = net_core.o \
net_if.o \
net_context.o \
net_pkt.o \
utils.o
obj-y += l2/
obj-$(CONFIG_NET_IPV6) += icmpv6.o nbr.o ipv6.o
obj-$(CONFIG_NET_IPV4) += icmpv4.o ipv4.o
obj-$(CONFIG_NET_6LO) += 6lo.o
obj-$(CONFIG_NET_TRICKLE) += trickle.o
obj-$(CONFIG_NET_DHCPV4) += dhcpv4.o
obj-$(CONFIG_NET_ROUTE) += route.o
obj-$(CONFIG_NET_RPL) += rpl.o
obj-$(CONFIG_NET_RPL_MRHOF) += rpl-mrhof.o
obj-$(CONFIG_NET_RPL_OF0) += rpl-of0.o
obj-$(CONFIG_NET_MGMT_EVENT) += net_mgmt.o
obj-$(CONFIG_NET_TCP) += tcp.o
obj-$(CONFIG_NET_SHELL) += net_shell.o
obj-$(CONFIG_NET_STATISTICS) += net_stats.o
ifeq ($(CONFIG_NET_UDP),y)
obj-$(CONFIG_NET_UDP) += connection.o
else
ifeq ($(CONFIG_NET_TCP),y)
obj-$(CONFIG_NET_TCP) += connection.o
endif
endif