[ramips] rt305x: Create factory image for Fonera 2.0n
[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
8 include $(TOPDIR)/rules.mk
9 include $(INCLUDE_DIR)/kernel.mk
10
11 PKG_NAME:=mkfimage
12 PKG_VERSION:=0.1
13 PKG_RELEASE:=1
14
15 PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)
16
17 include $(INCLUDE_DIR)/package.mk
18
19 define Build/Compile
20 mkdir -p $(PKG_BUILD_DIR)
21 cp -r ./src/* $(PKG_BUILD_DIR)
22 make -C $(PKG_BUILD_DIR)
23 endef
24
25 define Build/InstallDev
26 $(INSTALL_BIN) $(PKG_BUILD_DIR)/mkfimage $(STAGING_DIR_HOST)/bin/mkfimage
27 endef
28
29 $(eval $(call Build/DefaultTargets))
This page took 0.034106 seconds and 5 git commands to generate.