3 include $(TOPDIR
)/rules.mk
8 PKG_BUILD_DIR
:= $(BUILD_DIR
)/$(PKG_NAME
)
10 include $(TOPDIR
)/package
/rules.mk
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.
22 mkdir
-p
$(PKG_BUILD_DIR
)
23 $(CP
) .
/src
/* $(PKG_BUILD_DIR
)/
27 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
28 CC
="$(TARGET_CC)" CFLAGS
="$(TARGET_CFLAGS)" \
32 define Package
/mtd
/install
33 install -d
-m0755
$(1)/sbin
34 install -m0755
$(PKG_BUILD_DIR
)/mtd
$(1)/sbin
/
37 $(eval
$(call BuildPackage
,mtd
))