mirror of
https://github.com/Dasharo/zephyr.git
synced 2026-03-06 14:57:20 -08:00
Creation of Makefiles for kernel and misc directory.
This commit creates the Makefiles that describe the object-bundles for the kernel directory and every sub-directory below. It also includes the misc Makefile. Signed-off-by: Juan Manuel Cruz <juan.m.cruz.alcaraz@linux.intel.com> Change-Id: I847e79a40ced0b1d8370b893cd95c15efc7e5147
This commit is contained in:
committed by
Anas Nashif
parent
f98466d54b
commit
e55a79d6f9
3
kernel/Makefile
Normal file
3
kernel/Makefile
Normal file
@@ -0,0 +1,3 @@
|
||||
obj-y = nanokernel/
|
||||
obj-$(CONFIG_MICROKERNEL) += microkernel/
|
||||
obj-y += common/
|
||||
3
kernel/common/Makefile
Normal file
3
kernel/common/Makefile
Normal file
@@ -0,0 +1,3 @@
|
||||
obj-y += bsp/
|
||||
obj-y += version.o
|
||||
obj-$(CONFIG_ENHANCED_SECURITY) += string_s.o
|
||||
2
kernel/common/bsp/Makefile
Normal file
2
kernel/common/bsp/Makefile
Normal file
@@ -0,0 +1,2 @@
|
||||
obj-y = init.o
|
||||
obj-y += ctors.o
|
||||
21
kernel/microkernel/Makefile
Normal file
21
kernel/microkernel/Makefile
Normal file
@@ -0,0 +1,21 @@
|
||||
EXTRA_CFLAGS +=-I$(srctree)/kernel/microkernel/include
|
||||
|
||||
obj-y = k_task.o idle.o power.o
|
||||
|
||||
obj-$(CONFIG_TASK_MONITOR) += task_monitor.o
|
||||
obj-$(CONFIG_API_MEMMAP) += k_memmap.o
|
||||
obj-$(CONFIG_API_MEMPOOL) += k_mempool.o
|
||||
obj-$(CONFIG_API_TASKIRQ) += k_irq.o
|
||||
obj-$(CONFIG_API_DONOTHING) += k_nop.o
|
||||
obj-$(CONFIG_API_OFFLD2FIBER) += k_offload.o
|
||||
obj-$(CONFIG_API_EVENTS) += k_event.o
|
||||
obj-$(CONFIG_API_MAILBOX) += k_mbox.o
|
||||
obj-$(CONFIG_API_MUTEX) += k_mutex.o
|
||||
obj-$(CONFIG_API_FIFO) += k_queue.o
|
||||
obj-$(CONFIG_API_SEMAPHORES) += k_sema.o
|
||||
obj-$(CONFIG_API_TIMER) += k_timer.o
|
||||
|
||||
obj-y += core/
|
||||
obj-y += movedata/
|
||||
obj-$(CONFIG_API_CHANNEL) += channel/
|
||||
obj-$(CONFIG_API_TIMER) += timer/
|
||||
7
kernel/microkernel/channel/Makefile
Normal file
7
kernel/microkernel/channel/Makefile
Normal file
@@ -0,0 +1,7 @@
|
||||
EXTRA_CFLAGS +=-I$(srctree)/kernel/microkernel/include
|
||||
|
||||
obj-y = ch_addit.o InitChan.o ch_buff.o ch_buffm.o \
|
||||
K_Ch_RO.o K_Ch_WO.o K_Ch_WR.o K_Ch_Mvd.o \
|
||||
KS_Chan.o KS_ChPut.o KS_ChPtA.o KS_ChGet.o \
|
||||
K_ChProc.o K_ChPAck.o K_ChPRpl.o K_ChPReq.o \
|
||||
K_ChPTmo.o K_ChGAck.o K_ChGRpl.o K_ChGReq.o K_ChGTmo.o
|
||||
4
kernel/microkernel/core/Makefile
Normal file
4
kernel/microkernel/core/Makefile
Normal file
@@ -0,0 +1,4 @@
|
||||
EXTRA_CFLAGS +=-I$(srctree)/kernel/microkernel/include
|
||||
|
||||
obj-y = global.o taskcall.o
|
||||
obj-$(CONFIG_COMMAND_PACKET) += cmdPkt.o
|
||||
3
kernel/microkernel/movedata/Makefile
Normal file
3
kernel/microkernel/movedata/Makefile
Normal file
@@ -0,0 +1,3 @@
|
||||
EXTRA_CFLAGS +=-I$(srctree)/kernel/microkernel/include
|
||||
|
||||
obj-y = movedata.o ks_moved.o
|
||||
3
kernel/microkernel/timer/Makefile
Normal file
3
kernel/microkernel/timer/Makefile
Normal file
@@ -0,0 +1,3 @@
|
||||
EXTRA_CFLAGS +=-I$(srctree)/kernel/microkernel/include
|
||||
|
||||
obj-y = ticks.o ticker.o
|
||||
2
kernel/nanokernel/Makefile
Normal file
2
kernel/nanokernel/Makefile
Normal file
@@ -0,0 +1,2 @@
|
||||
obj-y = core/
|
||||
obj-$(CONFIG_MICROKERNEL) += task/
|
||||
16
kernel/nanokernel/core/Makefile
Normal file
16
kernel/nanokernel/core/Makefile
Normal file
@@ -0,0 +1,16 @@
|
||||
EXTRA_CFLAGS +=-I$(srctree)/kernel/nanokernel/include
|
||||
EXTRA_CFLAGS +=-I$(srctree)/kernel/microkernel/include
|
||||
|
||||
|
||||
EXTRA_AFLAGS := ${EXTRA_CFLAGS}
|
||||
|
||||
obj-y = nanofiber.o nano_lifo.o nano_context_data.o\
|
||||
nano_mwfifo.o nano_stack.o nano_timer.o \
|
||||
nanocontextentry.o nanoinit.o nano_sema.o
|
||||
|
||||
obj-$(CONFIG_STACK_CANARIES) += compiler_stack_protect.o
|
||||
obj-$(CONFIG_INT_LATENCY_BENCHMARK) += int_latency_bench.o
|
||||
obj-$(CONFIG_PERFORMANCE_METRICS) += nanometrics.o
|
||||
obj-$(CONFIG_ADVANCED_POWER_MANAGEMENT) += idle.o
|
||||
obj-$(CONFIG_MICROKERNEL) += microk.o
|
||||
obj-$(CONFIG_NANOKERNEL) += nanotime.o
|
||||
5
kernel/nanokernel/task/Makefile
Normal file
5
kernel/nanokernel/task/Makefile
Normal file
@@ -0,0 +1,5 @@
|
||||
EXTRA_CFLAGS += -I$(srctree)/kernel/nanokernel/include
|
||||
EXTRA_CFLAGS += -I$(srctree)/kernel/microkernel/include
|
||||
EXTRA_AFLAGS := ${EXTRA_CFLAGS}
|
||||
|
||||
obj-y = start_task.o
|
||||
3
misc/Makefile
Normal file
3
misc/Makefile
Normal file
@@ -0,0 +1,3 @@
|
||||
obj-y = dlist.o
|
||||
obj-$(CONFIG_PRINTK) += printk.o
|
||||
obj-y += generated/
|
||||
2
misc/generated/Makefile
Normal file
2
misc/generated/Makefile
Normal file
@@ -0,0 +1,2 @@
|
||||
obj-y = configs.o
|
||||
obj-$(CONFIG_MICROKERNEL) += nodes/
|
||||
4
misc/generated/nodes/Makefile
Normal file
4
misc/generated/nodes/Makefile
Normal file
@@ -0,0 +1,4 @@
|
||||
EXTRA_CFLAGS += -I$(srctree)/include/microkernel
|
||||
EXTRA_CFLAGS += -I$(CURDIR)/misc/generated/nodes
|
||||
|
||||
obj-y = kernel_main.o
|
||||
Reference in New Issue
Block a user