From: Guillermo Rodriguez Garcia <guille.rodriguez@gmail.com>
To: "ptxdist@pengutronix.de" <ptxdist@pengutronix.de>
Subject: [ptxdist] Building local package out of tree
Date: Wed, 28 Jan 2015 16:19:41 +0100 [thread overview]
Message-ID: <CABDcavYmnk4JGMgWDfHN4QqAyBY=0NSGymy+=j1KycfyP8d=7Q@mail.gmail.com> (raw)
[-- 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
next reply other threads:[~2015-01-28 15:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-28 15:19 Guillermo Rodriguez Garcia [this message]
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
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='CABDcavYmnk4JGMgWDfHN4QqAyBY=0NSGymy+=j1KycfyP8d=7Q@mail.gmail.com' \
--to=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