build mimo version of the broadcom wl driver as well
[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/Prepare
22 mkdir -p $(PKG_BUILD_DIR)
23 $(CP) ./src/* $(PKG_BUILD_DIR)/
24 endef
25
26 define Build/Compile
27 $(MAKE) -C $(PKG_BUILD_DIR) \
28 CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \
29 all
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.042394 seconds and 5 git commands to generate.