From 4e854cfe0317c517f84fabf3f082fff411bd636a Mon Sep 17 00:00:00 2001 From: xuxin19 Date: Tue, 28 May 2024 16:52:14 +0800 Subject: [PATCH] cmake:builtin register support NONE srcs target Signed-off-by: xuxin19 --- builtin/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/builtin/CMakeLists.txt b/builtin/CMakeLists.txt index 5447ff06749..3d8b244e4fe 100644 --- a/builtin/CMakeLists.txt +++ b/builtin/CMakeLists.txt @@ -26,6 +26,8 @@ if(CONFIG_BUILTIN) # generate registry get_property(nuttx_app_libs GLOBAL PROPERTY NUTTX_APPS_LIBRARIES) + get_property(only_registers GLOBAL PROPERTY NUTTX_APPS_ONLY_REGISTER) + list(APPEND nuttx_app_libs ${only_registers}) set(builtin_list_string) set(builtin_proto_string) foreach(module ${nuttx_app_libs})