mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-11 22:21:56 +00:00
The routines _int_latency_start() and _int_latency_stop() have been replaced by macros that evaluate to nothing when the kernel config option INT_LATENCY_BENCHMARK is not enabled thereby giving a performance boost to the x86 versions of irq_lock() and and irq_unlock(). Change-Id: Iabfa7bf001f5b8396e7bcf5eebd6b1aa342bac46 Signed-off-by: Peter Mitsis <peter.mitsis@windriver.com>
20 lines
674 B
Makefile
20 lines
674 B
Makefile
ccflags-y +=-I$(srctree)/kernel/nanokernel/include
|
|
ccflags-y +=-I$(srctree)/kernel/microkernel/include
|
|
|
|
|
|
asflags-y := ${ccflags-y}
|
|
|
|
obj-y = nano_fiber.o nano_lifo.o \
|
|
nano_fifo.o nano_stack.o nano_sys_clock.o \
|
|
nano_context.o nano_init.o nano_sema.o \
|
|
version.o device.o
|
|
|
|
obj-$(CONFIG_INT_LATENCY_BENCHMARK) += int_latency_bench.o
|
|
obj-$(CONFIG_NANO_TIMEOUTS) += nano_sleep.o
|
|
obj-$(CONFIG_STACK_CANARIES) += compiler_stack_protect.o
|
|
obj-$(CONFIG_ADVANCED_POWER_MANAGEMENT) += idle.o
|
|
obj-$(CONFIG_NANO_TIMERS) += nano_timer.o
|
|
obj-$(CONFIG_EVENT_LOGGER) += event_logger.o
|
|
obj-$(CONFIG_KERNEL_EVENT_LOGGER) += kernel_event_logger.o
|
|
obj-$(CONFIG_RING_BUFFER) += ring_buffer.o
|