Root/poke/Makefile

1include $(TOPDIR)/rules.mk
2
3PKG_NAME:=poke
4PKG_REV:=5975
5PKG_VERSION:=r$(PKG_REV)
6PKG_RELEASE:=1
7
8PKG_SOURCE_PROTO:=svn
9PKG_SOURCE_VERSION:=$(PKG_REV)
10PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
11PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
12PKG_SOURCE_URL:=http://svn.openmoko.org/developers/werner/$(PKG_NAME)
13PKG_BUILD_DIR=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)/
14
15include $(INCLUDE_DIR)/package.mk
16
17define Package/poke
18  SECTION:=utils
19  CATEGORY:=Utilities
20  TITLE:=Read or write any CPU register
21  URL:=http://svn.openmoko.org/developers/werner/poke
22endef
23
24define Package/poke/install
25    $(INSTALL_DIR) $(1)/usr/bin
26    $(INSTALL_BIN) \
27        $(PKG_BUILD_DIR)/poke \
28        $(1)/usr/bin/
29endef
30
31$(eval $(call BuildPackage,poke))
32

Archive Download this file



interactive