|
@@ -24,6 +24,12 @@ define UBOOT_TOOLS_INSTALL_MKIMAGE
|
|
|
endef
|
|
|
endif
|
|
|
|
|
|
+ifeq ($(BR2_PACKAGE_UBOOT_TOOLS_MKENVIMAGE),y)
|
|
|
+define UBOOT_TOOLS_INSTALL_MKENVIMAGE
|
|
|
+ $(INSTALL) -m 0755 -D $(@D)/tools/mkenvimage $(TARGET_DIR)/usr/bin/mkenvimage
|
|
|
+endef
|
|
|
+endif
|
|
|
+
|
|
|
ifeq ($(BR2_PACKAGE_UBOOT_TOOLS_FWPRINTENV),y)
|
|
|
define UBOOT_TOOLS_INSTALL_FWPRINTENV
|
|
|
$(INSTALL) -m 0755 -D $(@D)/tools/env/fw_printenv $(TARGET_DIR)/usr/sbin/fw_printenv
|
|
@@ -33,6 +39,7 @@ endif
|
|
|
|
|
|
define UBOOT_TOOLS_INSTALL_TARGET_CMDS
|
|
|
$(UBOOT_TOOLS_INSTALL_MKIMAGE)
|
|
|
+ $(UBOOT_TOOLS_INSTALL_MKENVIMAGE)
|
|
|
$(UBOOT_TOOLS_INSTALL_FWPRINTENV)
|
|
|
endef
|
|
|
|
|
@@ -51,6 +58,7 @@ endef
|
|
|
|
|
|
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
|
|
|
endef
|
|
|
|
|
|
$(eval $(generic-package))
|