15 lines
430 B
Makefile
15 lines
430 B
Makefile
asflags-y += -mlongcalls
|
|
|
|
ifdef CONFIG_ATOMIC_OPERATIONS_C
|
|
# Use C routines from kernel/atomic_c.c
|
|
obj-atomic=
|
|
else
|
|
# Use our own routines implmented in assembly
|
|
obj-atomic=atomic.o
|
|
endif
|
|
obj-y = ${obj-atomic} cpu_idle.o fatal.o \
|
|
swap.o thread.o xt_zephyr.o xtensa_context.o xtensa_intr_asm.o \
|
|
xtensa_intr.o xtensa_vectors.o irq_manage.o
|
|
obj-$(CONFIG_XTENSA_USE_CORE_CRT1) += crt1.o
|
|
obj-$(CONFIG_IRQ_OFFLOAD) += irq_offload.o
|