Skip to contentSkip to conversation

package/uboot: define help commands when using Kconfig

PATCH New Yann E. MORIN 2 participants 2 messages Nov 1, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/uboot: define help commands when using Kconfig

Expose the Kconfig-related help commands when U-Boot uses the Kconfig configuration. Like others (like Linux, barebox, busybox), only expose menuconfig, not all the configurators.

---
 boot/uboot/uboot.mk | 6 ++++++
 1 file changed, 6 insertions(+)
boot/uboot/uboot.mk +6 -0
index ae7539d..3e347c1 100644
@@ -181,6 +181,12 @@ endif # BR2_TARGET_UBOOT_USE_DEFCONFIG
 
 UBOOT_KCONFIG_EDITORS = menuconfig xconfig gconfig nconfig
 UBOOT_KCONFIG_OPTS = $(UBOOT_MAKE_OPTS)
+define UBOOT_HELP_CMDS
+	@echo '  uboot-menuconfig       - Run U-Boot menuconfig'
+	@echo '  uboot-savedefconfig    - Run U-Boot savedefconfig'
+	@echo '  uboot-update-defconfig - Save the U-Boot configuration to the path specified'
+	@echo '                             by BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE'
+endef
 endif # BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY
 
 define UBOOT_BUILD_CMDS
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 package/uboot: define help commands when using Kconfig

Hello,

Quoted 8 lines · Yann E. MORIN

Expose the Kconfig-related help commands when U-Boot uses the Kconfig configuration. Like others (like Linux, barebox, busybox), only expose menuconfig, not all the configurators.

---
 boot/uboot/uboot.mk | 6 ++++++
 1 file changed, 6 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com