Commit 3eaec41a authored by Jukka Rissanen's avatar Jukka Rissanen
Browse files

net: Moved net/ to subsys/net



* Moved networking code into subsys/net.
* Renamed net/yaip to net/ip at the same time.
* Fixed the tests/net to compile
* Fixed the Makefiles and Kconfig files in subsys/net
  to use the new location of the IP stack

Change-Id: Ie45d9e8cb45a93fefdf969b20a81e3b1d3c16355
Signed-off-by: default avatarJukka Rissanen <jukka.rissanen@linux.intel.com>
parent 01f5fbda
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -593,7 +593,7 @@ endif # $(dot-config)

# kernel objects are built as a static library
libs-y := kernel/unified/
core-y := lib/ misc/ net/ boards/ ext/ subsys/ tests/ arch/
core-y := lib/ misc/ boards/ ext/ subsys/ tests/ arch/
drivers-y := drivers/

ARCH = $(subst $(DQUOTE),,$(CONFIG_ARCH))
+1 −1
Original line number Diff line number Diff line
/* ieee802154_cc2520_yaip.c - YAIP version of TI CC2520 driver */
/* ieee802154_cc2520.c - TI CC2520 driver */

/*
 * Copyright (c) 2016 Intel Corporation.
+1 −1
Original line number Diff line number Diff line
subdir-ccflags-y +=-I${srctree}/net/yaip
subdir-ccflags-y +=-I${srctree}/subsys/net/ip

obj-$(CONFIG_SLIP) = slip.o
+1 −1
Original line number Diff line number Diff line
@@ -72,7 +72,7 @@ char *domains[] = {"not_a_real_domain_name",
		   "training.linuxfoundation.org",
		   NULL};

/* from net/yaip/utils.c */
/* from subsys/net/ip/utils.c */
char *net_sprint_ip_addr_buf(const uint8_t *ip, int ip_len,
			     char *buf, int buflen);

+1 −1
Original line number Diff line number Diff line
ccflags-y += -I${ZEPHYR_BASE}/net/yaip
ccflags-y += -I${ZEPHYR_BASE}/subsys/net/ip

ifeq ($(CONFIG_NET_TESTING), y)
ccflags-y +=-I${ZEPHYR_BASE}/samples/net/common/
Loading