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

ben-wpan: add INSTALL-Ben INSTALL-PC USAGE as a doc package

This commit is contained in:
Xiangfu Liu 2011-11-01 11:30:41 +08:00
parent 80479907b5
commit 32e497b9f5

View File

@ -6,8 +6,8 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=ben-wpan PKG_NAME:=ben-wpan
PKG_VERSION:=git PKG_VERSION:=git
PKG_REV:=50595979f5cad37743779019930ebe6ffe24d981 PKG_REV:=ac76df901d347c1cdb414644ad33120fd262729f
PKG_RELEASE:=1 PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_REV).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_REV).tar.gz
PKG_SOURCE_URL:=git://projects.qi-hardware.com/ben-wpan.git PKG_SOURCE_URL:=git://projects.qi-hardware.com/ben-wpan.git
@ -31,6 +31,17 @@ define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR)/tools/dirtpan TARGET=ben_openwrt CFLAGS+="-I$(STAGING_DIR)/usr/include -I../include" $(MAKE) -C $(PKG_BUILD_DIR)/tools/dirtpan TARGET=ben_openwrt CFLAGS+="-I$(STAGING_DIR)/usr/include -I../include"
endef endef
define Package/ben-wpan-doc
$(call Package/ben-wpan/Default)
TITLE:=Documents about ben-wpan
endef
define Package/ben-wpan-doc/install
$(INSTALL_DIR) $(1)/usr/share/ben-wpan
$(CP) $(PKG_BUILD_DIR)/install/INSTALL* $(1)/usr/share/ben-wpan
$(CP) $(PKG_BUILD_DIR)/install/USAGE $(1)/usr/share/ben-wpan
endef
define Package/atrf-gpio define Package/atrf-gpio
$(call Package/ben-wpan/Default) $(call Package/ben-wpan/Default)
TITLE:=GPIO test utility TITLE:=GPIO test utility
@ -152,3 +163,4 @@ $(eval $(call BuildPackage,atrf-trim))
$(eval $(call BuildPackage,atrf-txrx)) $(eval $(call BuildPackage,atrf-txrx))
$(eval $(call BuildPackage,atrf-xmit)) $(eval $(call BuildPackage,atrf-xmit))
$(eval $(call BuildPackage,atrf-xtal)) $(eval $(call BuildPackage,atrf-xtal))
$(eval $(call BuildPackage,ben-wpan-doc))