From ff38e98cddacfdad99ac5e5f183384c064a6bccd Mon Sep 17 00:00:00 2001 From: Xiangfu Liu Date: Mon, 6 Sep 2010 11:36:40 +0800 Subject: [PATCH] [new package] poke, Read or write any CPU register Signed-off-by: Xiangfu Liu --- poke/Makefile | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 poke/Makefile diff --git a/poke/Makefile b/poke/Makefile new file mode 100644 index 0000000..ee6bf38 --- /dev/null +++ b/poke/Makefile @@ -0,0 +1,31 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=poke +PKG_REV:=5974 +PKG_VERSION:=r$(PKG_REV) +PKG_RELEASE:=1 + +PKG_SOURCE_PROTO:=svn +PKG_SOURCE_VERSION:=$(PKG_REV) +PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://svn.openmoko.org/developers/werner/$(PKG_NAME) +PKG_BUILD_DIR=$(PKG_NAME)-$(PKG_VERSION)/ + +include $(INCLUDE_DIR)/package.mk + +define Package/poke + SECTION:=utils + CATEGORY:=Utilities + TITLE:=poke + URL:=http://svn.openmoko.org/developers/werner/poke + DEPENDS:=@BROKEN +endef + +define Package/poke/install + $(INSTALL_BIN) \ + $(PKG_BUILD_DIR)/poke \ + $(1)/usr/bin/ +endef + +$(eval $(call BuildPackage,poke))