From f9c56ceda49030621efb13953b64308193ad9a32 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 5268cf6aee906..349246d445408 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()