Skip to content

Commit be2993b

Browse files
tejlmandnashif
authored andcommitted
sysbuild: move sysbuild/application to _sysbuild
The sysbuild part of sysbuild/application creates a sysbuild/application folder under top-level build dir. However, having a sysbuild folder at this level means that tab completion for sysbuild pre-fixed build targets will stop after completing just `sysbuild` and then show several subfolders, making it hard to see important build targets, such as: `ninja sysbuild_menuconfig`. As `sysbuild/application` is just a folder name, then move it to `_sysbuild` instead to avoid impacting tab completion for ninja and make. Also strip the `application` part in the process, as the extra folder doesn't provide any extra benefit, but is just one more level to enter when browsing the build folder structure. Signed-off-by: Torsten Rasmussen <[email protected]>
1 parent a54c117 commit be2993b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

share/sysbuild/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if(NOT DEFINED APPLICATION_BINARY_DIR)
2121
endif()
2222

2323
if(EXISTS ${APP_DIR}/sysbuild/CMakeLists.txt)
24-
add_subdirectory(${APP_DIR}/sysbuild sysbuild/application)
24+
add_subdirectory(${APP_DIR}/sysbuild _sysbuild)
2525
else()
26-
add_subdirectory(template sysbuild/application)
26+
add_subdirectory(template _sysbuild)
2727
endif()

0 commit comments

Comments
 (0)