fix extra control files for packages containing "." and allow different conffiles...
[openwrt.git] / package / mtd / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME := mtd
6 PKG_RELEASE := 4
7
8 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
9
10 include $(TOPDIR)/package/rules.mk
11
12 define Package/mtd
13 SECTION:=base
14 CATEGORY:=Util
15 DEFAULT:=y
16 TITLE:=Update utility for trx firmware images
17 DESCRIPTION:=Update utility for trx firmware images. To update \\\
18 from other firmware or older OpenWrt releases.
19 endef
20
21 define Build/Compile
22 $(TARGET_CC) $(TARGET_CFLAGS) -o $(PKG_BUILD_DIR)/mtd mtd.c
23 endef
24
25 define Package/mtd/install
26 install -d -m0755 $(1)/sbin
27 install -m0755 $(PKG_BUILD_DIR)/mtd $(1)/sbin
28 endef
29
30 $(eval $(call BuildPackage,mtd))
This page took 0.037976 seconds and 5 git commands to generate.