mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] Building local package out of tree
@ 2015-01-28 15:19 Guillermo Rodriguez Garcia
  2015-01-28 15:25 ` Alexander Stein
  0 siblings, 1 reply; 7+ messages in thread
From: Guillermo Rodriguez Garcia @ 2015-01-28 15:19 UTC (permalink / raw)
  To: ptxdist


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

Hello all,

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.

Searching around I found some (not many :) mentions to <PKG>_BUILD_OOT so I
though this was what I needed.

However I must be doing something wrong. If I set <PKG>_BUILD_OOT := YES in
the <pkg>.make file, then:

1. Two directories are created:
platform/build-target/<pkg> where all source files from local_src/<pkg> are
copied (including the Makefile)
platform/build-target/<pkg>-build, which is initially empty

2. Then actual command executed by ptxdist in the compile stage is make -C
platform/build-target/<pkg>-build. But since there is no Makefile in this
directory, I get an error ("No targets specified and no makefile found")

Do I need to do something else besides setting <PKG>_BUILD_OOT ?

Thank you,

Guillermo Rodriguez Garcia
guille.rodriguez@gmail.com

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

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

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-01-29 11:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-28 15:19 [ptxdist] Building local package out of tree 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
2015-01-29 11:27         ` Guillermo Rodriguez Garcia

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox