2015-06-04 10:17:57 +08:00
|
|
|
ccflags-y += -I$(srctree)/kernel/nanokernel/include
|
|
|
|
ccflags-y += -I$(srctree)/kernel/microkernel/include
|
2015-03-10 07:05:07 +08:00
|
|
|
|
2015-06-20 01:56:08 +08:00
|
|
|
obj-y = gdt.o context.o fatal.o cpuhalt.o \
|
2015-03-10 07:05:07 +08:00
|
|
|
excstub.o swap.o ffs.o intboiexit.o msr.o \
|
2015-07-23 00:35:34 +08:00
|
|
|
excconnect.o inthndlset.o sys_fatal_error_handler.o \
|
|
|
|
crt0.o driver_static_irq_stubs.o
|
2015-03-10 07:05:07 +08:00
|
|
|
|
|
|
|
ifeq ($(CONFIG_LOCK_INSTRUCTION_UNSUPPORTED),y)
|
2015-06-20 01:56:08 +08:00
|
|
|
obj-y += atomic_nolock.o
|
2015-03-10 07:05:07 +08:00
|
|
|
else
|
2015-06-20 01:56:08 +08:00
|
|
|
obj-y += atomic.o
|
2015-03-10 07:05:07 +08:00
|
|
|
endif
|
|
|
|
|
2015-07-23 00:35:34 +08:00
|
|
|
ifneq ($(CONFIG_CLFLUSH_INSTRUCTION_SUPPORTED),y)
|
|
|
|
obj-y += cache_s.o
|
|
|
|
else
|
|
|
|
obj-y += cache.o
|
|
|
|
endif
|
|
|
|
|
2015-06-20 01:56:08 +08:00
|
|
|
obj-$(CONFIG_FP_SHARING) += float.o
|
2015-03-10 07:05:07 +08:00
|
|
|
obj-$(CONFIG_UNALIGNED_WRITE_UNSUPPORTED) += unaligned.o
|
2015-07-23 00:35:34 +08:00
|
|
|
obj-$(CONFIG_MICROKERNEL) += strtask.o
|
2015-03-10 07:05:07 +08:00
|
|
|
|
|
|
|
ifneq ($(CONFIG_NO_ISRS),y)
|
|
|
|
obj-y += intconnect.o intstub.o
|
|
|
|
endif
|