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 <
[email protected]>:

> 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: [email protected]
> Website: www.systec-electronic.com
>
> Managing Director: Dipl.-Phys. Siegmar Schmidt
> Commercial registry: Amtsgericht Chemnitz, HRB 28082
>
>


-- 
Guillermo Rodriguez Garcia
[email protected]
-- 
ptxdist mailing list
[email protected]

Reply via email to