diff options
author | Nicolas Thill <nico@openwrt.org> | 2005-06-10 17:12:46 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2005-06-10 17:12:46 +0000 |
commit | 40e074dd9cac68799e066fa9b3edfce02e13cbba (patch) | |
tree | 3e603d0d33eb4aaba9f460e08507084427397c98 /package/picocom/Makefile | |
parent | 80adf7c385ddbe66d3b1f19d299688c75e545488 (diff) | |
download | upstream-40e074dd9cac68799e066fa9b3edfce02e13cbba.tar.gz upstream-40e074dd9cac68799e066fa9b3edfce02e13cbba.tar.bz2 upstream-40e074dd9cac68799e066fa9b3edfce02e13cbba.zip |
Add picocom package, move serial comm. stuff to its section in Config.in
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1187 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/picocom/Makefile')
-rw-r--r-- | package/picocom/Makefile | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/package/picocom/Makefile b/package/picocom/Makefile new file mode 100644 index 0000000000..1f07c61efe --- /dev/null +++ b/package/picocom/Makefile @@ -0,0 +1,33 @@ +# $Id$ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=picocom +PKG_VERSION:=1.4 +PKG_RELEASE:=1 +PKG_MD5SUM:=08fcc5f6bb9e7676a2569386d5ea9f70 + +PKG_SOURCE_URL:=http://efault.net/npat/hacks/picocom/dist/ +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_CAT:=zcat + +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) +PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install + +include $(TOPDIR)/package/rules.mk + +$(eval $(call PKG_template,PICOCOM,picocom,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) + +$(PKG_BUILD_DIR)/.built: + $(MAKE) -C $(PKG_BUILD_DIR) \ + $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \ + CFLAGS="$(TARGET_CFLAGS) -L$(STAGING_DIR)/usr/lib" \ + picocom + touch $@ + +$(IPKG_PICOCOM): + install -d -m0755 $(IDIR_PICOCOM)/usr/bin + install -m0755 $(PKG_BUILD_DIR)/picocom $(IDIR_PICOCOM)/usr/bin/ + $(RSTRIP) $(IDIR_PICOCOM) + $(IPKG_BUILD) $(IDIR_PICOCOM) $(PACKAGE_DIR) |