From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.phytec.co.uk ([217.6.246.34] helo=root.phytec.de) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1RzrbP-0004CB-0T for ptxdist@pengutronix.de; Tue, 21 Feb 2012 16:26:04 +0100 Received: from idefix.phytec.de (idefix.phytec.de [172.16.0.10]) by root.phytec.de (Postfix) with ESMTP id 045E4BF0DC for ; Mon, 20 Feb 2012 22:04:19 +0100 (CET) From: Jan Weitzel In-Reply-To: <20120221150907.GG29102@pengutronix.de> References: <1329832497.7354.5.camel@lws-weitzel> <20120221150907.GG29102@pengutronix.de> Date: Tue, 21 Feb 2012 16:25:59 +0100 Message-ID: <1329837960.7354.9.camel@lws-weitzel> Mime-Version: 1.0 Subject: Re: [ptxdist] MLO 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 Dienstag, den 21.02.2012, 16:09 +0100 schrieb Michael Olbrich: > Hi, > > On Tue, Feb 21, 2012 at 02:54:57PM +0100, Jan Weitzel wrote: > > I am looking for a way to build a MLO (xloader) from barebox sources. > > How can I reuse the barebox sources? I tried to play with > > BAREBOX_BUILD_OOT, but didn't got a -build dir. > > You can only use *_OOT this is implemented in ptxdist for the used > conf_tool. This only works for autoconf, qmake and cmake right now. > > You'd create separate rules for the MLO, right? Just reuse the same url, > source etc. as barebox but use a different _DIR. PTXdist will then > extract the same patches into a different directory. > This works much better reusing the same source in multiple packages. Ok, is there a way to reuse BAREBOX_SOURCE rules/barebox_mlo.make: BAREBOX_MLO_SOURCE := $(BAREBOX_SOURCE) didn't work. Jan -- ptxdist mailing list ptxdist@pengutronix.de