2015-06-20 21:23:14 +08:00
|
|
|
ccflags-y += -I$(srctree)/kernel/nanokernel/include
|
2015-09-13 07:00:39 +08:00
|
|
|
ccflags-y +=-I$(srctree)/arch/$(ARCH)/include
|
2015-06-20 21:23:14 +08:00
|
|
|
ccflags-y += -I$(srctree)/kernel/microkernel/include
|
|
|
|
|
2016-01-14 07:20:19 +08:00
|
|
|
obj-y += thread.o thread_entry_wrapper.o \
|
2015-06-20 21:23:14 +08:00
|
|
|
cpu_idle.o fast_irq.o fatal.o fault.o \
|
2015-08-15 04:56:51 +08:00
|
|
|
fault_s.o irq_manage.o \
|
2015-07-10 02:17:14 +08:00
|
|
|
isr_wrapper.o regular_irq.o swap_macros.h swap.o \
|
|
|
|
sys_fatal_error_handler.o
|
2015-09-13 07:00:39 +08:00
|
|
|
|
|
|
|
obj-y += prep_c.o \
|
|
|
|
reset.o \
|
|
|
|
vector_table.o
|
2015-11-18 06:08:45 +08:00
|
|
|
|
|
|
|
obj-$(CONFIG_IRQ_OFFLOAD) += irq_offload.o
|
2015-12-05 04:12:03 +08:00
|
|
|
obj-$(CONFIG_ERRNO) += errno.o
|
2016-01-14 07:20:19 +08:00
|
|
|
|
|
|
|
ifeq ($(CONFIG_ARC_ATOMIC_ASM),y)
|
|
|
|
obj-y += atomic.o
|
|
|
|
else
|
|
|
|
obj-y += atomic_native.o
|
|
|
|
endif
|
2016-03-08 06:45:48 +08:00
|
|
|
|
|
|
|
obj-$(CONFIG_IRQ_VECTOR_TABLE_BSP) += irq_vector_table.o
|
2016-03-09 01:54:45 +08:00
|
|
|
obj-$(CONFIG_SW_ISR_TABLE) += sw_isr_table.o
|