1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-22 15:12:28 +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 define Build/Configure
( cd $(PKG_BUILD_DIR); ./autogen.sh ); ( cd $(PKG_BUILD_DIR); ./autogen.sh );
$(call Build/Configure/Default, \ $(call Build/Configure/Default, \
CROSS_COMPILE="mipsel-openwrt-linux-" \ --disable-firmware \
--enable-firmware \
--prefix=/usr \ --prefix=/usr \
--sysconfdir=/etc \ --sysconfdir=/etc \
) )
endef endef
define Package/xburst-tools/install 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)/ $(CP) $(PKG_BUILD_DIR)/ipkg-install/* $(1)/
endef endef