From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.phycard.co.uk ([217.6.246.34] helo=root.phytec.de) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1S0boS-0004ZF-81 for ptxdist@pengutronix.de; Thu, 23 Feb 2012 17:46:37 +0100 Received: from idefix.phytec.de (idefix.phytec.de [172.16.0.10]) by root.phytec.de (Postfix) with ESMTP id 052ABBF0CE for ; Wed, 22 Feb 2012 22:42:45 +0100 (CET) From: Jan Weitzel In-Reply-To: <20120223094028.GA28597@pengutronix.de> References: <20120221164736.GI29102@pengutronix.de> <1329982272-6194-1-git-send-email-j.weitzel@phytec.de> <1329983260.4030.5.camel@lws-weitzel> <20120223094028.GA28597@pengutronix.de> Date: Thu, 23 Feb 2012 17:46:35 +0100 Message-ID: <1330015595.9641.4.camel@lws-weitzel> Mime-Version: 1.0 Subject: Re: [ptxdist] [RFC] Build MLO from barebox sources Reply-To: ptxdist@pengutronix.de, J.Weitzel@phytec.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 Am Donnerstag, den 23.02.2012, 10:40 +0100 schrieb Michael Olbrich: > On Thu, Feb 23, 2012 at 08:47:39AM +0100, Jan Weitzel wrote: > > Am Donnerstag, den 23.02.2012, 08:31 +0100 schrieb Jan Weitzel: > [...] > > > +# ---------------------------------------------------------------------------- > > > +# Extract > > > +# ---------------------------------------------------------------------------- > > > +$(STATEDIR)/barebox_mlo.extract: > > > + @$(call targetinfo) > > > + @$(call clean, $(BAREBOX_MLO_DIR)) > > > + @mkdir -p $(BAREBOX_MLO_DIR) > > > + @$(call extract, BAREBOX_MLO) > > > + @$(call patchin, BAREBOX, $(BAREBOX_MLO_DIR)) > > I saw this is deprecated, is there an other way to get the BAREBOX > > patchstack? > > With @$(call patchin, BAREBOX_MLO) I got: > > > > extract: pkg_src=/home/ptxdist_src/barebox-2011.12.0.tar.bz2 > > extract:. > > pkg_extract_dir=BSP-Phytec-phyCARD-XL2/platform-phyCARD-XL2/build-target/barebox_mlo-2011.12.0 > > patchin: no patches found > > BAREBOX_MLO_VERSION = $(BAREBOX_VERSION) > BAREBOX_MLO = $(BAREBOX) > BAREBOX_MLO_DIR = $(BUILDDIR)/barebox_mlo-$(BAREBOX_MLO_VERSION) > > I think. Then you can remove the extract stage. > > Michael Thank you very much. Feel free to put your name into the rule ;) Jan > -- > 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