X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=tools%2Fmkimage%2FMakefile;h=2de13ab77b1456ec057913b282cbde24e0523789;hb=5b4b998f9d0998e7e6c8a0e0035d04f172fa3a36;hp=fd06c721e8f6bbba30d3373e5a0b7d9057f4d3f6;hpb=0de665e0a08e1add1a7aacf1f700a8cec79b695d;p=openwrt.git diff --git a/tools/mkimage/Makefile b/tools/mkimage/Makefile index fd06c721e8..2de13ab77b 100644 --- a/tools/mkimage/Makefile +++ b/tools/mkimage/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2006-2013 OpenWrt.org +# Copyright (C) 2006-2014 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -7,11 +7,13 @@ include $(TOPDIR)/rules.mk PKG_NAME:=mkimage -PKG_VERSION:=2013.07-rc1 +PKG_VERSION:=2014.10 PKG_SOURCE:=u-boot-$(PKG_VERSION).tar.bz2 -PKG_SOURCE_URL:=ftp://ftp.denx.de/pub/u-boot -PKG_MD5SUM:=21bf962d69938ed4ed783b792b2b074e +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) @@ -24,11 +26,15 @@ define Host/Prepare $(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 endef define Host/Compile - $(MAKE) -C $(HOST_BUILD_DIR) BUILD_DIR= BIN_FILES-y="mkimage" HOSTLDFLAGS="$(HOST_STATIC_LINKING)" tools + $(MAKE) -C $(HOST_BUILD_DIR) defconfig + $(MAKE) -C $(HOST_BUILD_DIR) \ + HOSTLDFLAGS="$(HOST_STATIC_LINKING)" \ + tools-only endef define Host/Install