kernel: move kernel code to kernel/ directly

Also remove mentions of unified kernel in various places in the kernel,
samples and documentation.

Change-Id: Ice43bc73badbe7e14bae40fd6f2a302f6528a77d
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2016-12-17 17:48:47 -05:00
commit d687a95611
48 changed files with 12 additions and 14 deletions

2
Kbuild
View file

@ -92,7 +92,7 @@ OFFSETS_INCLUDE = $(strip \
-include $(CURDIR)/include/generated/autoconf.h \ -include $(CURDIR)/include/generated/autoconf.h \
-I $(srctree)/include \ -I $(srctree)/include \
-I $(CURDIR)/include/generated \ -I $(CURDIR)/include/generated \
-I $(srctree)/kernel/unified/include \ -I $(srctree)/kernel/include \
$(OFFSETS_INCLUDE_KERNEL_LOCATION) \ $(OFFSETS_INCLUDE_KERNEL_LOCATION) \
-I $(srctree)/lib/libc/minimal/include \ -I $(srctree)/lib/libc/minimal/include \
-I $(srctree)/arch/${ARCH}/include ) -I $(srctree)/arch/${ARCH}/include )

View file

@ -366,7 +366,7 @@ export ARCH KERNEL_NAME KERNEL_ELF_NAME KERNEL_BIN_NAME KERNEL_HEX_NAME
# Use ZEPHYRINCLUDE when you must reference the include/ directory. # Use ZEPHYRINCLUDE when you must reference the include/ directory.
# Needed to be compatible with the O= option # Needed to be compatible with the O= option
ZEPHYRINCLUDE = \ ZEPHYRINCLUDE = \
-I$(srctree)/kernel/unified/include \ -I$(srctree)/kernel/include \
-I$(srctree)/arch/$(ARCH)/include \ -I$(srctree)/arch/$(ARCH)/include \
-I$(srctree)/arch/$(ARCH)/soc/$(SOC_PATH) \ -I$(srctree)/arch/$(ARCH)/soc/$(SOC_PATH) \
-I$(srctree)/boards/$(ARCH)/$(BOARD_NAME) \ -I$(srctree)/boards/$(ARCH)/$(BOARD_NAME) \
@ -592,7 +592,7 @@ include/config/auto.conf: ;
endif # $(dot-config) endif # $(dot-config)
# kernel objects are built as a static library # kernel objects are built as a static library
libs-y := kernel/unified/ libs-y := kernel/
core-y := lib/ misc/ boards/ ext/ subsys/ tests/ arch/ core-y := lib/ misc/ boards/ ext/ subsys/ tests/ arch/
drivers-y := drivers/ drivers-y := drivers/

View file

@ -1,4 +1,4 @@
ccflags-y += -I$(srctree)/kernel/unified/include ccflags-y += -I$(srctree)/kernel/include
ccflags-y +=-I$(srctree)/arch/$(ARCH)/include ccflags-y +=-I$(srctree)/arch/$(ARCH)/include
obj-y += thread.o thread_entry_wrapper.o \ obj-y += thread.o thread_entry_wrapper.o \

View file

@ -1,4 +1,4 @@
ccflags-y += -I$(srctree)/kernel/unified/include ccflags-y += -I$(srctree)/kernel/include
asflags-y := ${ccflags-y} asflags-y := ${ccflags-y}
obj-y = exc_exit.o irq_init.o \ obj-y = exc_exit.o irq_init.o \

View file

@ -1,6 +1,6 @@
ccflags-y +=-I$(srctree)/include/drivers ccflags-y +=-I$(srctree)/include/drivers
ccflags-y +=-I$(srctree)/arch/arm/soc/$(SOC_PATH) ccflags-y +=-I$(srctree)/arch/arm/soc/$(SOC_PATH)
ccflags-y +=-I$(srctree)/kernel/unified/include ccflags-y +=-I$(srctree)/kernel/include
asflags-y = $(ccflags-y) asflags-y = $(ccflags-y)

View file

@ -1,4 +1,4 @@
ccflags-y += -I$(srctree)/kernel/unified/include ccflags-y += -I$(srctree)/kernel/include
ccflags-y += -I$(srctree)/arch/$(ARCH)/include ccflags-y += -I$(srctree)/arch/$(ARCH)/include
obj-y += reset.o irq_manage.o fatal.o swap.o thread.o \ obj-y += reset.o irq_manage.o fatal.o swap.o thread.o \

View file

@ -1,5 +1,5 @@
ccflags-y += -I$(srctree)/kernel/unified/include ccflags-y += -I$(srctree)/kernel/include
asflags-y += -I$(srctree)/kernel/unified/include asflags-y += -I$(srctree)/kernel/include
ifeq ($(COMPILER)$(CONFIG_X86_IAMCU),clang) ifeq ($(COMPILER)$(CONFIG_X86_IAMCU),clang)
# We rely on GAS for assembling, so don't use the integrated assembler # We rely on GAS for assembling, so don't use the integrated assembler

View file

@ -1,4 +1,4 @@
ccflags-y += -I$(srctree)/kernel/unified/include ccflags-y += -I$(srctree)/kernel/include
asflags-y := ${ccflags-y} asflags-y := ${ccflags-y}

View file

@ -17,7 +17,7 @@
/** /**
* @file * @file
* *
* Dining philosophers demo for unified kernel. * Dining philosophers demo
* *
* The demo can be configured to use different object types for its * The demo can be configured to use different object types for its
* synchronization: SEMAPHORES, MUTEXES, STACKS, FIFOS and LIFOS. To configure * synchronization: SEMAPHORES, MUTEXES, STACKS, FIFOS and LIFOS. To configure

View file

@ -20,9 +20,7 @@ menuconfig NET_MGMT
help help
Add support for NM API that enables managing different aspects Add support for NM API that enables managing different aspects
of the network stack as well as receiving notification on network of the network stack as well as receiving notification on network
events (ip address change, iface up and running ...). Beware this events (ip address change, iface up and running ...).
requires the new unified kernel (KERNEL_V2) and cannot be used in
former nanokernel.
if NET_MGMT if NET_MGMT