sched: move sched_note.c to drivers/note

Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
This commit is contained in:
yinshengkai 2022-12-09 18:27:09 +08:00 committed by Xiang Xiao
parent 4ba7ef51c5
commit 09814831b8
3 changed files with 8 additions and 7 deletions

View File

@ -18,6 +18,13 @@
#
############################################################################
ifeq ($(CONFIG_SCHED_INSTRUMENTATION),y)
ifeq ($(CONFIG_SCHED_INSTRUMENTATION_EXTERNAL),)
CSRCS += sched_note.c
CFLAGS += ${INCDIR_PREFIX}${TOPDIR}/sched
endif
endif
ifeq ($(CONFIG_DRIVER_NOTE),y)
CSRCS += note_driver.c
endif

View File

@ -1,5 +1,5 @@
/****************************************************************************
* sched/sched/sched_note.c
* drivers/note/sched_note.c
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with

View File

@ -89,12 +89,6 @@ ifeq ($(CONFIG_SMP),y)
CSRCS += sched_thistask.c
endif
ifeq ($(CONFIG_SCHED_INSTRUMENTATION),y)
ifeq ($(CONFIG_SCHED_INSTRUMENTATION_EXTERNAL),)
CSRCS += sched_note.c
endif
endif
ifeq ($(CONFIG_SCHED_CRITMONITOR),y)
CSRCS += sched_critmonitor.c
endif