mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Alexander Stein <alexander.stein@systec-electronic.com>
To: ptxdist@pengutronix.de
Cc: Guillermo Rodriguez Garcia <guille.rodriguez@gmail.com>
Subject: Re: [ptxdist] Building local package out of tree
Date: Wed, 28 Jan 2015 16:25:55 +0100	[thread overview]
Message-ID: <6626243.0kc6lunseE@ws-stein> (raw)
In-Reply-To: <CABDcavYmnk4JGMgWDfHN4QqAyBY=0NSGymy+=j1KycfyP8d=7Q@mail.gmail.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


-- 
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2015-01-28 15:24 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 [this message]
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
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=6626243.0kc6lunseE@ws-stein \
    --to=alexander.stein@systec-electronic.com \
    --cc=guille.rodriguez@gmail.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