fix typo
[openwrt.git] / package / mtd / 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
11 PKG_NAME:=mtd
12 PKG_RELEASE:=4
13
14 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
15
16 include $(INCLUDE_DIR)/package.mk
17
18 define Package/mtd
19 SECTION:=base
20 CATEGORY:=Utilities
21 DEFAULT:=y
22 TITLE:=Update utility for trx firmware images
23 DESCRIPTION:=Update utility for trx firmware images. To update \\\
24 from other firmware or older OpenWrt releases.
25 endef
26
27 define Build/Prepare
28 mkdir -p $(PKG_BUILD_DIR)
29 $(CP) ./src/* $(PKG_BUILD_DIR)/
30 endef
31
32 define Package/mtd/install
33 install -d -m0755 $(1)/sbin
34 install -m0755 $(PKG_BUILD_DIR)/mtd $(1)/sbin/
35 endef
36
37 $(eval $(call BuildPackage,mtd))
This page took 0.051413 seconds and 5 git commands to generate.