[PATCH 06/13] kbuild: improve make help description
Ahmad Fatoum
a.fatoum at pengutronix.de
Sun Jan 12 00:34:25 PST 2025
The help text was taken from Linux' Kbuild and isn't up-to-date with
what's supported in barebox. Before extending it further, let's align it
with what's actually supported in barebox.
Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
Makefile | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/Makefile b/Makefile
index 75e994e5ac1a..a86f1084cd5c 100644
--- a/Makefile
+++ b/Makefile
@@ -1316,18 +1316,19 @@ help:
@echo ''
@echo 'Other generic targets:'
@echo ' all - Build all targets marked with [*]'
- @echo '* barebox - Build the bare kernel'
+ @echo '* barebox - Build the barebox proper binary'
+ifdef CONFIG_PBL_IMAGE
+ @echo '* images - Build final prebootloader-prefixed images'
+endif
@echo ' dir/ - Build all files in dir and below'
@echo ' dir/file.[ois] - Build specified target only'
@echo ' dir/file.ko - Build module including final link'
+ @echo ' compile_commands.json'
+ @echo ' - Generate compilation database for IDEs/LSP'
@echo ' tags/TAGS - Generate tags file for editors'
@echo ' cscope - Generate cscope index'
@echo ' (default: $(INSTALL_HDR_PATH))'
@echo ''
- @echo 'Static analysers'
- @echo ' checkstack - Generate a list of stack hogs'
- @echo ' namespacecheck - Name space analysis on compiled kernel'
- @echo ''
@echo 'Architecture specific targets ($(SRCARCH)):'
@$(if $(archhelp),$(archhelp),\
echo ' No architecture specific help defined for $(SRCARCH)')
--
2.39.5
More information about the barebox
mailing list