zephyr/kernel/Makefile
Anas Nashif d687a95611 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>
2016-12-19 14:59:35 -05:00

43 lines
763 B
Makefile

ccflags-y += -I$(srctree)/kernel/include
asflags-y := ${ccflags-y}
obj-y =
obj-y += $(strip \
version.o \
)
lib-y =
lib-y += $(strip \
sys_clock.o \
thread.o \
init.o \
sem.o \
device.o \
thread_abort.o \
idle.o \
sched.o \
mutex.o \
lifo.o \
fifo.o \
stack.o \
mem_slab.o \
mem_pool.o \
msg_q.o \
mailbox.o \
mem_pool.o \
alert.o \
pipes.o \
legacy_offload.o \
errno.o \
work_q.o \
system_work_q.o \
)
lib-$(CONFIG_INT_LATENCY_BENCHMARK) += int_latency_bench.o
lib-$(CONFIG_STACK_CANARIES) += compiler_stack_protect.o
lib-$(CONFIG_SYS_CLOCK_EXISTS) += timer.o legacy_timer.o
lib-$(CONFIG_KERNEL_EVENT_LOGGER) += event_logger.o
lib-$(CONFIG_KERNEL_EVENT_LOGGER) += kernel_event_logger.o
lib-$(CONFIG_ATOMIC_OPERATIONS_C) += atomic_c.o