[Buildroot] [PATCH] package/uboot-tools: Add mkenvimage for host.

Arnaud Rébillout rebillout at syscom.ch
Wed Dec 19 12:47:11 UTC 2012


Hello there,

I need to use mkenvimage. And it seems that the easiest way is to 
automatically install it in the HOST_UBOOT_TOOLS_INSTALL_CMDS target.
The tool mkenvimage appeared v2011.12 of uboot, so it's present in all 
the versions that buildroot supports.
The patch is a simple line, if anyone is interested.


Regards

---
diff --git a/package/uboot-tools/uboot-tools.mk 
b/package/uboot-tools/uboot-tools.mk
index 7628b77..57c59bb 100644
--- a/package/uboot-tools/uboot-tools.mk
+++ b/package/uboot-tools/uboot-tools.mk
@@ -49,6 +49,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))

---


More information about the buildroot mailing list