mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-22 09:19:22 +02:00
new package: xburst-tools: Tools for Ingenic XBurst CPU USB boot and NAND flash access
This commit is contained in:
parent
5e8a25ee6b
commit
f7c9ae5dda
52
xburst-tools/Makefile
Normal file
52
xburst-tools/Makefile
Normal file
@ -0,0 +1,52 @@
|
||||
#
|
||||
# Copyright (C) 2012 Xiangfu Liu <xiangfu@openmobilefree.net>
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=xburst-tools
|
||||
PKG_VERSION:=20120604
|
||||
PKG_REV:=fc85c030a97151a9f78e72ababb9bbc3ec7081e8
|
||||
PKG_RELEASE:=1
|
||||
PKG_INSTALL:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_REV).tar.gz
|
||||
PKG_SOURCE_URL:=git://projects.qi-hardware.com/xburst-tools.git
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_SOURCE_VERSION:=$(PKG_REV)
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
TARGET_LDFLAGS+= -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
|
||||
|
||||
define Package/xburst-tools
|
||||
SECTION:=utils
|
||||
CATEGORY:=Utilities
|
||||
TITLE:=Xburst-Tools
|
||||
URL:=http://projects.qi-hardware.com/p/xburst-tools/
|
||||
DEPENDS:=+libusb +libusb-1.0 +confuse
|
||||
endef
|
||||
|
||||
define Package/xburst-tools/description
|
||||
Tools for Ingenic XBurst CPU USB boot and NAND flash access
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
( cd $(PKG_BUILD_DIR); ./autogen.sh );
|
||||
$(call Build/Configure/Default, \
|
||||
CROSS_COMPILE="mipsel-openwrt-linux-" \
|
||||
--enable-firmware \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
)
|
||||
endef
|
||||
|
||||
define Package/xburst-tools/install
|
||||
$(CP) $(PKG_BUILD_DIR)/ipkg-install/* $(1)/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,xburst-tools))
|
Loading…
Reference in New Issue
Block a user