[ar71xx] change ag71xx platform device registration
[openwrt.git] / target / linux / etrax / image / mkfimage / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10 include $(INCLUDE_DIR)/kernel.mk
11
12 PKG_NAME:=mkfimage
13 PKG_VERSION:=0.1
14 PKG_RELEASE:=1
15
16 PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Build/Compile
21 mkdir -p $(PKG_BUILD_DIR)
22 cp -r ./src/* $(PKG_BUILD_DIR)
23 make -C $(PKG_BUILD_DIR)
24 endef
25
26 define Build/InstallDev
27 $(INSTALL_BIN) $(PKG_BUILD_DIR)/mkfimage $(STAGING_DIR_HOST)/bin/mkfimage
28 endef
29
30 $(eval $(call Build/DefaultTargets))
This page took 0.050258 seconds and 5 git commands to generate.