* When option CONFIG_SCHED_YIELD_OPTIMIZATION is enabled, scheduler's
code enable yield feature which requires up_schedyield to be
implemented. But there was missing logic in arch Makefile for
compiling up_schedyield.c file.
Signed-off-by: Oleg Lyovin <o.lyovin@partner.samsung.com>
CMN_CSRCS += arm_mpu.c
endif
+ifeq ($(CONFIG_SCHED_YIELD_OPTIMIZATION),y)
+CMN_CSRCS += up_schedyield.c
+endif
+
ifeq ($(CONFIG_BUILD_KERNEL),y)
CMN_CSRCS += up_task_start.c up_pthread_start.c arm_signal_dispatch.c
endif