Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- # See /LICENSE for more information.
- #
- # $Id: Makefile 7742 2007-06-27 05:26:20Z nbd $
- include $(TOPDIR)/rules.mk
- PKG_NAME:=openocd
- PKG_VERSION:=0.5.0
- PKG_RELEASE:=1
- PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
- PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
- PKG_SOURCE_URL:=@SF/openocd
- PKG_MD5SUM:=42999a8950b669780f27ec7484c86458
- include $(INCLUDE_DIR)/package.mk
- define Package/openocd
- SECTION:=openocd
- CATEGORY:=Utilities
- TITLE:=openocd
- endef
- define Package/openocd/description
- openocd desc
- endef
- define Build/Configure
- (cd $(PKG_BUILD_DIR); \
- ./configure --build=i686-pc-linux-gnu --host=mips-openwrt-linux-uclibc --enable-parport --enable-parport_ppdev --disable-doxygen-html\
- );
- endef
- define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR)
- endef
- define Package/openocd/install
- $(INSTALL_DIR) $(1)/usr/bin
- $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/openocd $(1)/usr/bin/
- $(INSTALL_DIR) $(1)/etc/openocd
- $(CP) -r $(PKG_BUILD_DIR)/tcl $(1)/etc/openocd
- endef
- $(eval $(call BuildPackage,openocd))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement