diff --git a/Makefile b/Makefile index f007db2f29..3f5c3d3b2f 100644 --- a/Makefile +++ b/Makefile @@ -941,10 +941,6 @@ help: @echo $(sep) \ @echo '$($(p)_NAME):' $(sep) \ $($(p)_HELP_CMDS)$(sep)) -ifeq ($(BR2_TARGET_BAREBOX),y) - @echo ' barebox-menuconfig - Run barebox menuconfig' - @echo ' barebox-savedefconfig - Run barebox savedefconfig' -endif @echo @echo 'Documentation:' @echo ' manual - build manual in all formats' diff --git a/boot/barebox/barebox/barebox.mk b/boot/barebox/barebox/barebox.mk index 6a5a80de34..39afb0fccb 100644 --- a/boot/barebox/barebox/barebox.mk +++ b/boot/barebox/barebox/barebox.mk @@ -4,5 +4,10 @@ # ################################################################################ +define BAREBOX_HELP_CMDS + @echo ' barebox-menuconfig - Run barebox menuconfig' + @echo ' barebox-savedefconfig - Run barebox savedefconfig' +endef + # Instantiate the barebox package $(eval $(barebox-package))