projects
/
openwrt
/
staging
/
florian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mkimage: update to 2014.10
[openwrt/staging/florian.git]
/
tools
/
mkimage
/
Makefile
diff --git
a/tools/mkimage/Makefile
b/tools/mkimage/Makefile
index 48cf04547a6f29da480140d9f5433aadb46e3722..2de13ab77b1456ec057913b282cbde24e0523789 100644
(file)
--- a/
tools/mkimage/Makefile
+++ b/
tools/mkimage/Makefile
@@
-1,5
+1,5
@@
#
#
-# Copyright (C) 2006-201
0
OpenWrt.org
+# Copyright (C) 2006-201
4
OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@
-7,21
+7,34
@@
include $(TOPDIR)/rules.mk
PKG_NAME:=mkimage
include $(TOPDIR)/rules.mk
PKG_NAME:=mkimage
-PKG_VERSION:=201
0.12
+PKG_VERSION:=201
4.10
PKG_SOURCE:=u-boot-$(PKG_VERSION).tar.bz2
PKG_SOURCE:=u-boot-$(PKG_VERSION).tar.bz2
-PKG_SOURCE_URL:=ftp://ftp.denx.de/pub/u-boot
-PKG_MD5SUM:=9024bbceabd176ae1d52df6db2e84bda
+PKG_SOURCE_URL:=\
+ http://mirror2.openwrt.org/sources \
+ ftp://ftp.denx.de/pub/u-boot
+PKG_MD5SUM:=3ddcaee2f05b7c464778112ec83664b5
PKG_CAT:=bzcat
HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/u-boot-$(PKG_VERSION)
include $(INCLUDE_DIR)/host-build.mk
PKG_CAT:=bzcat
HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/u-boot-$(PKG_VERSION)
include $(INCLUDE_DIR)/host-build.mk
-define Host/Compile
- rm -f $(HOST_BUILD_DIR)/tools/.depend
+define Host/Prepare
+ $(Host/Prepare/Default)
+ rm -f \
+ $(HOST_BUILD_DIR)/include/errno.h \
+ $(HOST_BUILD_DIR)/include/malloc.h \
+ $(HOST_BUILD_DIR)/tools/.depend
+ touch $(HOST_BUILD_DIR)/include/config.mk
touch $(HOST_BUILD_DIR)/include/config.h
touch $(HOST_BUILD_DIR)/include/config.h
- $(MAKE) -C $(HOST_BUILD_DIR) BUILD_DIR= BIN_FILES-y="mkimage" tools
+endef
+
+define Host/Compile
+ $(MAKE) -C $(HOST_BUILD_DIR) defconfig
+ $(MAKE) -C $(HOST_BUILD_DIR) \
+ HOSTLDFLAGS="$(HOST_STATIC_LINKING)" \
+ tools-only
endef
define Host/Install
endef
define Host/Install