summaryrefslogtreecommitdiff
path: root/tools/mkimage
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2010-12-23 00:07:58 +0000
committerImre Kaloz <kaloz@openwrt.org>2010-12-23 00:07:58 +0000
commit3d501f9403ab6ceb80cb6fac9d64f13306c1e6cd (patch)
treeda4ac2d338bb6c5eae12554de1dff329cecb66a6 /tools/mkimage
parentacb5e808467c8cd46f4ae0945ddd8eaa16b39f0d (diff)
downloadmtk-20170518-3d501f9403ab6ceb80cb6fac9d64f13306c1e6cd.zip
mtk-20170518-3d501f9403ab6ceb80cb6fac9d64f13306c1e6cd.tar.gz
mtk-20170518-3d501f9403ab6ceb80cb6fac9d64f13306c1e6cd.tar.bz2
use u-boot v2010.12
SVN-Revision: 24809
Diffstat (limited to 'tools/mkimage')
-rw-r--r--tools/mkimage/Makefile8
-rw-r--r--tools/mkimage/patches/100-portability.patch6
2 files changed, 7 insertions, 7 deletions
diff --git a/tools/mkimage/Makefile b/tools/mkimage/Makefile
index beeecb8..48cf045 100644
--- a/tools/mkimage/Makefile
+++ b/tools/mkimage/Makefile
@@ -7,11 +7,11 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=mkimage
-PKG_VERSION:=2009.11
+PKG_VERSION:=2010.12
PKG_SOURCE:=u-boot-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=ftp://ftp.denx.de/pub/u-boot
-PKG_MD5SUM:=d94700614225f53c853dfe714eb5fa47
+PKG_MD5SUM:=9024bbceabd176ae1d52df6db2e84bda
PKG_CAT:=bzcat
HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/u-boot-$(PKG_VERSION)
@@ -20,8 +20,8 @@ include $(INCLUDE_DIR)/host-build.mk
define Host/Compile
rm -f $(HOST_BUILD_DIR)/tools/.depend
- touch $(HOST_BUILD_DIR)/include/config.{h,mk} $(HOST_BUILD_DIR)/include/autoconf.mk{.dep,}
- $(MAKE) -C $(HOST_BUILD_DIR) BUILD_DIR= SUBDIRS=tools BIN_FILES-y="mkimage" tools
+ touch $(HOST_BUILD_DIR)/include/config.h
+ $(MAKE) -C $(HOST_BUILD_DIR) BUILD_DIR= BIN_FILES-y="mkimage" tools
endef
define Host/Install
diff --git a/tools/mkimage/patches/100-portability.patch b/tools/mkimage/patches/100-portability.patch
index 1b65e20..052a584 100644
--- a/tools/mkimage/patches/100-portability.patch
+++ b/tools/mkimage/patches/100-portability.patch
@@ -33,7 +33,7 @@
* 1. Abstracting input command line arguments data
--- a/include/image.h
+++ b/include/image.h
-@@ -49,6 +49,10 @@
+@@ -50,6 +50,10 @@
#endif /* USE_HOSTCC */
@@ -41,6 +41,6 @@
+#define ulong unsigned long
+#endif
+
- #include <command.h>
-
#if defined(CONFIG_FIT)
+ #include <fdt.h>
+ #include <libfdt.h>