[mpc83xx]: do old style image generation for the mpc8377wlan, as the current bootload...
[openwrt.git] / tools / mkimage / Makefile
1 #
2 # Copyright (C) 2006-2010 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 include $(TOPDIR)/rules.mk
8
9 PKG_NAME:=mkimage
10 PKG_VERSION:=2009.11
11
12 PKG_SOURCE:=u-boot-$(PKG_VERSION).tar.bz2
13 PKG_SOURCE_URL:=ftp://ftp.denx.de/pub/u-boot
14 PKG_MD5SUM:=d94700614225f53c853dfe714eb5fa47
15 PKG_CAT:=bzcat
16
17 HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/u-boot-$(PKG_VERSION)
18
19 include $(INCLUDE_DIR)/host-build.mk
20
21 define Host/Compile
22 touch $(HOST_BUILD_DIR)/include/config.{h,mk} $(HOST_BUILD_DIR)/include/autoconf.mk{.dep,}
23 $(MAKE) -C $(HOST_BUILD_DIR) SUBDIRS=tools BIN_FILES-y="mkimage" tools
24 endef
25
26 define Host/Install
27 $(CP) $(HOST_BUILD_DIR)/tools/mkimage $(STAGING_DIR_HOST)/bin/
28 endef
29
30 define Host/Clean
31 rm -f $(STAGING_DIR_HOST)/bin/mkimage
32 endef
33
34 $(eval $(call HostBuild))
This page took 0.047516 seconds and 5 git commands to generate.