include $(TOPDIR)/rules.mk
PKG_NAME:=mkimage
include $(TOPDIR)/rules.mk
PKG_NAME:=mkimage
PKG_SOURCE:=u-boot-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=ftp://ftp.denx.de/pub/u-boot
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)
PKG_CAT:=bzcat
HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/u-boot-$(PKG_VERSION)
define Host/Compile
rm -f $(HOST_BUILD_DIR)/tools/.depend
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
endef
define Host/Install
* 1. Abstracting input command line arguments data
--- a/include/image.h
+++ b/include/image.h
* 1. Abstracting input command line arguments data
--- a/include/image.h
+++ b/include/image.h
+#define ulong unsigned long
+#endif
+
+#define ulong unsigned long
+#endif
+
+ #include <fdt.h>
+ #include <libfdt.h>