1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-22 02:55:22 +02:00

xburst-tools: download the binary instead of compile

This commit is contained in:
Xiangfu 2012-06-04 15:29:56 +08:00
parent f7c9ae5dda
commit a4314b5a3f

View File

@ -38,14 +38,20 @@ endef
define Build/Configure
( cd $(PKG_BUILD_DIR); ./autogen.sh );
$(call Build/Configure/Default, \
CROSS_COMPILE="mipsel-openwrt-linux-" \
--enable-firmware \
--disable-firmware \
--prefix=/usr \
--sysconfdir=/etc \
)
endef
define Package/xburst-tools/install
(cd $(PKG_BUILD_DIR) && \
wget http://projects.qi-hardware.com/media/upload/xburst-tools/files/xburst-tools-firmware-201105.tar.bz2 && \
tar xvf xburst-tools-firmware-201105.tar.bz2)
$(INSTALL_DIR) $(1)/usr/share/xburst-tools/
$(CP) $(PKG_BUILD_DIR)/xburst-tools-firmware/* $(1)/usr/share/xburst-tools/
$(CP) $(PKG_BUILD_DIR)/ipkg-install/* $(1)/
endef