From 126c93015f7bb7f72d674c75cc05113f4f686ec7 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Sun, 11 Dec 2022 20:55:08 +0800 Subject: [PATCH] drivers/node: Rename sched_note.c to to note_driver.c prepare to support the multiple note driver Signed-off-by: Xiang Xiao --- drivers/note/Make.defs | 11 ++++------- drivers/note/{sched_note.c => note_driver.c} | 2 +- 2 files changed, 5 insertions(+), 8 deletions(-) rename drivers/note/{sched_note.c => note_driver.c} (99%) diff --git a/drivers/note/Make.defs b/drivers/note/Make.defs index 68755c7a33..3eb161053a 100644 --- a/drivers/note/Make.defs +++ b/drivers/note/Make.defs @@ -18,14 +18,11 @@ # ############################################################################ -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) + ifeq ($(CONFIG_SCHED_INSTRUMENTATION_EXTERNAL),) + CSRCS += note_driver.c + CFLAGS += ${INCDIR_PREFIX}${TOPDIR}/sched + endif CSRCS += note_initialize.c endif diff --git a/drivers/note/sched_note.c b/drivers/note/note_driver.c similarity index 99% rename from drivers/note/sched_note.c rename to drivers/note/note_driver.c index 4cbadae7dc..c8a83b58e6 100644 --- a/drivers/note/sched_note.c +++ b/drivers/note/note_driver.c @@ -1,5 +1,5 @@ /**************************************************************************** - * drivers/note/sched_note.c + * drivers/note/note_driver.c * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with