From 68d6b18f9aa1c6c78ca4c57ca76ad9c61a216c31 Mon Sep 17 00:00:00 2001 From: chao an Date: Tue, 15 Oct 2024 12:11:00 +0800 Subject: [PATCH] drivers/misc/devmem: add dev_mem.c into cmake build Signed-off-by: chao an --- drivers/misc/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/misc/CMakeLists.txt b/drivers/misc/CMakeLists.txt index 5268cf6aee..349246d445 100644 --- a/drivers/misc/CMakeLists.txt +++ b/drivers/misc/CMakeLists.txt @@ -31,6 +31,10 @@ if(CONFIG_DEV_ZERO) list(APPEND SRCS dev_zero.c) endif() +if(CONFIG_DEV_MEM) + list(APPEND SRCS dev_mem.c) +endif() + if(CONFIG_DEV_ASCII) list(APPEND SRCS dev_ascii.c) endif()