mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Marc Kleine-Budde <mkl@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] Building local package out of tree
Date: Thu, 29 Jan 2015 11:42:43 +0100	[thread overview]
Message-ID: <54CA0EA3.5040706@pengutronix.de> (raw)
In-Reply-To: <CABDcavYOtkDNhT4uYpzvPwCMx-64dQ+AbFzcxyZQziC_TEK5AA@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1366 bytes --]

On 01/29/2015 09:45 AM, Guillermo Rodriguez Garcia wrote:
> Hello,
> 
> 2015-01-28 21:29 GMT+01:00 Alexander Dahl <post@lespocky.de
> <mailto:post@lespocky.de>>:
> 
>     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/<pkg> to a directory
> platform/build-target/<pkg> 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
           ^^^^^

Marc

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2015-01-29 10:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-28 15:19 Guillermo Rodriguez Garcia
2015-01-28 15:25 ` Alexander Stein
2015-01-28 15:34   ` Guillermo Rodriguez Garcia
2015-01-28 20:29   ` Alexander Dahl
2015-01-29  8:45     ` Guillermo Rodriguez Garcia
2015-01-29 10:42       ` Marc Kleine-Budde [this message]
2015-01-29 11:27         ` Guillermo Rodriguez Garcia

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54CA0EA3.5040706@pengutronix.de \
    --to=mkl@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox