From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0] ident=Debian-exim) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1XZHK3-000619-U3 for ptxdist@pengutronix.de; Wed, 01 Oct 2014 12:39:51 +0200 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.80) (envelope-from ) id 1XZHK3-0006SW-SX for ptxdist@pengutronix.de; Wed, 01 Oct 2014 12:39:51 +0200 Date: Wed, 1 Oct 2014 12:39:51 +0200 From: Michael Olbrich Message-ID: <20141001103951.GF16481@pengutronix.de> References: <1412010731-18154-1-git-send-email-apr@cn-eng.de> <1412012616.18554.57.camel@ws-apr.office.loc> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1412012616.18554.57.camel@ws-apr.office.loc> Subject: Re: [ptxdist] [PATCH] openocd: new package for openocd-0.8.0 (host, target) Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de On Mon, Sep 29, 2014 at 07:43:36PM +0200, Andreas Pretzsch wrote: > Second, the options mimic the ./configure options from OpenOCD, not only > in wording, but also in sequence. To ease maintenance, I refrained > reordering them. Good, I prefer it that way. [...] > > +HOST_OPENOCD_VERSION := 0.8.0 > > +HOST_OPENOCD_MD5 := 6d83c34763a5f1d1ac7ad83c5a11f4fb > > +HOST_OPENOCD := openocd-$(HOST_OPENOCD_VERSION) > > +HOST_OPENOCD_SUFFIX := tar.bz2 > > +HOST_OPENOCD_URL := http://downloads.sourceforge.net/project/openocd/openocd/$(HOST_OPENOCD_VERSION)/$(HOST_OPENOCD).$(HOST_OPENOCD_SUFFIX) > > +#HOST_OPENOCD_URL := $(call ptx/mirror, SF, openocd/$(HOST_OPENOCD).$(HOST_OPENOCD_SUFFIX)) > > Took this mirror from Michael Grzeschik original patch, but still refer > to the official source. Please change before apply at your own > discretion. Please use the mirror URL. The default does the same things as your URL (SF redirect it to a suitable mirror), but it makes it possible to overwrite this with a specific mirror if there are problems with the default. > > + @$(call install_copy, openocd, 0, 0, 0755, -, /usr/bin/openocd) > > +# @$(call install_tree, openocd, 0, 0, -, /usr/share/openocd/) > > Intentionally disabled. 700kB generic extra data on the target makes no > sense. I doubt there won't be one real use case where the makefile is > not pulled into platform local rules and adapted to copy only the 5 > relevant files from this tree. So this is more of a reminder where to > look, so I kept is as comment. I missed this when I commented the patch. Are there any files in /usr/share/openocd/ that are required on the target? Michael -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de