2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
14 PKG_BUILD_DIR
:= $(BUILD_DIR
)/$(PKG_NAME
)
16 include $(INCLUDE_DIR
)/package.mk
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.
28 mkdir
-p
$(PKG_BUILD_DIR
)
29 $(CP
) .
/src
/* $(PKG_BUILD_DIR
)/
33 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
34 CC
="$(TARGET_CC)" CFLAGS
="$(TARGET_CFLAGS)" \
38 define Package
/mtd
/install
39 install -d
-m0755
$(1)/sbin
40 install -m0755
$(PKG_BUILD_DIR
)/mtd
$(1)/sbin
/
43 $(eval
$(call BuildPackage
,mtd
))