summaryrefslogtreecommitdiff
path: root/cmd/Makefile
diff options
context:
space:
mode:
authorMichal Simek <[email protected]>2025-06-30 14:21:07 +0200
committerMichal Simek <[email protected]>2025-07-08 15:00:17 +0200
commit43341fc02198ef7535251dfa73c7cc828228d0ad (patch)
tree703cc5a9ba0f51ecc87daaa7ef4da558b1d362d0 /cmd/Makefile
parent229ec063537c85a2d095ddcf345cb7af52fccf57 (diff)
cmd: Introduce CMD_HELP
Add option to disable help command in size constrained systems to save some space. There is also no need to have ifdefs around CMDLINE because all commands depends on it. And also mark cmd_help dependency in test_help.py. Reviewed-by: Peter Robinson <[email protected]> Reviewed-by: Mattijs Korpershoek <[email protected]> Signed-off-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/c17f825fb8a74e1d1912a3fd09a9a880c84a8bfd.1751286059.git.michal.simek@amd.com
Diffstat (limited to 'cmd/Makefile')
-rw-r--r--cmd/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/Makefile b/cmd/Makefile
index 80cf70b7fe8..718eff4ed19 100644
--- a/cmd/Makefile
+++ b/cmd/Makefile
@@ -7,7 +7,7 @@ ifndef CONFIG_XPL_BUILD
# core command
obj-y += boot.o
obj-$(CONFIG_CMD_BOOTM) += bootm.o
-obj-y += help.o
+obj-$(CONFIG_CMD_HELP) += help.o
obj-y += panic.o
obj-y += version.o