mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Guillermo Rodriguez Garcia <guille.rodriguez@gmail.com>
To: Alexander Stein <alexander.stein@systec-electronic.com>
Cc: "ptxdist@pengutronix.de" <ptxdist@pengutronix.de>
Subject: Re: [ptxdist] Building local package out of tree
Date: Wed, 28 Jan 2015 16:34:13 +0100	[thread overview]
Message-ID: <CABDcavaxaTkxbB2cR8rU4jZEb6c6DBZRGxMib56553mPMP4FSg@mail.gmail.com> (raw)
In-Reply-To: <6626243.0kc6lunseE@ws-stein>


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

Thank you for the feedback. I said "out of tree" but I don't know if this
is the correct term here. It is not used in the same sense as in cmake.

What I mean is that I don't want the package to be built in
local_src/<pkg>. Rather it should be copied to a new directory (this is
being already done when I set <PKG>_BUILD_OOT -- everything is copied to
platform/build-target/<pkg>) and build there. The only problem is that
ptxdist tries to build in a *different* directory
(platform/build-target/<pkg>-build), which is empty.

I think there must be a way to do this more or less easily. I really don't
want to switch to CMake just for this..

BR,

Guillermo

2015-01-28 16:25 GMT+01:00 Alexander Stein <
alexander.stein@systec-electronic.com>:

> Hi,
>
> On Wednesday 28 January 2015 16:19:41, Guillermo Rodriguez Garcia wrote:
> > I am trying to force ptxdist to build a local package (sources in
> > local_src/<package>) out of tree, so that I can build for different
> > platforms from the same BSP. This package is very simple and uses a
> > standard makefile.
>
> 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.
>
> > Do I need to do something else besides setting <PKG>_BUILD_OOT ?
>
> IIRC this option enabled by default for cmake packages.
>
> --
> Dipl.-Inf. Alexander Stein
>
> SYS TEC electronic GmbH
> Am Windrad 2
> 08468 Heinsdorfergrund
> Tel.: 03765 38600-1156
> Fax: 03765 38600-4100
> Email: alexander.stein@systec-electronic.com
> Website: www.systec-electronic.com
>
> Managing Director: Dipl.-Phys. Siegmar Schmidt
> Commercial registry: Amtsgericht Chemnitz, HRB 28082
>
>


-- 
Guillermo Rodriguez Garcia
guille.rodriguez@gmail.com

[-- Attachment #1.2: Type: text/html, Size: 2750 bytes --]

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

-- 
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2015-01-28 15:34 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 [this message]
2015-01-28 20:29   ` Alexander Dahl
2015-01-29  8:45     ` Guillermo Rodriguez Garcia
2015-01-29 10:42       ` Marc Kleine-Budde
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=CABDcavaxaTkxbB2cR8rU4jZEb6c6DBZRGxMib56553mPMP4FSg@mail.gmail.com \
    --to=guille.rodriguez@gmail.com \
    --cc=alexander.stein@systec-electronic.com \
    --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