zephyr/subsys/net/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

14 lines
189 B
Makefile

obj-$(CONFIG_NET_BUF) += buf.o
ifeq ($(CONFIG_NETWORKING),y)
ifeq ($(CONFIG_NET_L2_RAW_CHANNEL),y)
obj-y += ip/net_pkt.o
else
obj-y += ip/
endif
endif
include lib/Makefile
obj-y += lib/