bootloader, which allows access to the U-Boot environment
from Linux.
+config BR2_PACKAGE_UBOOT_TOOLS_DUMPIMAGE
+ bool "dumpimage"
+ help
+ The dumpimage tool from Das U-Boot bootloader, which allows
+ extraction of data from U-Boot images.
+
endif
endef
endif
+ifeq ($(BR2_PACKAGE_UBOOT_TOOLS_DUMPIMAGE),y)
+define UBOOT_TOOLS_INSTALL_DUMPIMAGE
+ $(INSTALL) -m 0755 -D $(@D)/tools/dumpimage $(TARGET_DIR)/usr/sbin/dumpimage
+endef
+endif
+
define UBOOT_TOOLS_INSTALL_TARGET_CMDS
$(UBOOT_TOOLS_INSTALL_MKIMAGE)
$(UBOOT_TOOLS_INSTALL_MKENVIMAGE)
$(UBOOT_TOOLS_INSTALL_FWPRINTENV)
+ $(UBOOT_TOOLS_INSTALL_DUMPIMAGE)
endef
ifeq ($(BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SIGNATURE_SUPPORT),y)
define HOST_UBOOT_TOOLS_INSTALL_CMDS
$(INSTALL) -m 0755 -D $(@D)/tools/mkimage $(HOST_DIR)/usr/bin/mkimage
$(INSTALL) -m 0755 -D $(@D)/tools/mkenvimage $(HOST_DIR)/usr/bin/mkenvimage
+ $(INSTALL) -m 0755 -D $(@D)/tools/dumpimage $(HOST_DIR)/usr/bin/dumpimage
endef
$(eval $(generic-package))