From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wi0-x234.google.com ([2a00:1450:400c:c05::234]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1YGnGI-0003A1-12 for ptxdist@pengutronix.de; Thu, 29 Jan 2015 12:27:50 +0100 Received: by mail-wi0-f180.google.com with SMTP id h11so23133757wiw.1 for ; Thu, 29 Jan 2015 03:27:44 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <54CA0EA3.5040706@pengutronix.de> References: <6626243.0kc6lunseE@ws-stein> <54C946BB.7080005@lespocky.de> <54CA0EA3.5040706@pengutronix.de> Date: Thu, 29 Jan 2015 12:27:44 +0100 Message-ID: From: Guillermo Rodriguez Garcia Subject: Re: [ptxdist] Building local package out of tree 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" Hi Markus, 2015-01-29 11:42 GMT+01:00 Marc Kleine-Budde : > > On 01/29/2015 09:45 AM, Guillermo Rodriguez Garcia wrote: > > Hello, > > > > 2015-01-28 21:29 GMT+01:00 Alexander Dahl > >: > > > > Hei, > > > > On 28.01.2015 16:25, Alexander Stein wrote: > > > For building out of tree; I would suggest using cmake. This makes > > > building OOT quite an easy task. As you only have a simple makefile > > > setting up CMakeLists.txt is not that hard. If the build process is > > > more complicated you anyway want to use a build system like cmake. > > > > +1 > > > > > > I appreciate the suggestions :) but this is not what I am looking for. > > Specially since ptxdist already knows how to do what I want to do. In > > fact it does exactly that when you create a "src-linux-driver" package: > > The sources are copied from local_src/ to a directory > > platform/build-target/ and built there. I just need to figure out > > how to make ptxdist do the same for a regular "src-make-prog" package. > > Try using > > FOO_URL := lndir://$(PTXDIST_WORKSPACE)/local_src > ^^^^^ Works perfect! This is exactly what I was looking for. Thank you, Guillermo -- ptxdist mailing list ptxdist@pengutronix.de