All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] RFC: option to Makefile.autotools.in to build in	$(PROJECT_BUILD_DIR)
Date: Thu, 19 Feb 2009 13:34:30 +0100	[thread overview]
Message-ID: <20090219123430.GD1829@mx.loc> (raw)
In-Reply-To: <87fxiaaain.fsf@macbook.be.48ers.dk>

On Thu, Feb 19, 2009 at 01:14:56PM +0100, Peter Korsgaard wrote:
>>>>>> "Bernhard" == Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> writes:
>
>Hi,
>
> Bernhard> I admit that i didn't look but it sounds a bit like you
> Bernhard> would want to do the same like i did for THIS_SRCDIR
> Bernhard> (THIS_BUILDDIR comes to mind).  HTH,
>
>The target-specific-variable make feature is indeed usefull, but I
>don't quite see how to apply it in this case.

in this case just pickup an eventually given per-package objdir instead
of always using BUILD_DIR, perhaps something like
OBJDIR=$(if $$($(2)_BUILDDIR),$$($(2)_BUILDDIR),$(BUILD_DIR))

so you can just
package/foo/foo.mk:FOO_BUILDDIR=$(PROJECT_BUILDDIR)
(modulo typos)

  reply	other threads:[~2009-02-19 12:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-17  5:02 [Buildroot] RFC: option to Makefile.autotools.in to build in $(PROJECT_BUILD_DIR) Hamish Moffatt
2009-02-19 11:16 ` Peter Korsgaard
2009-02-19 11:33   ` Bernhard Reutner-Fischer
2009-02-19 12:14     ` Peter Korsgaard
2009-02-19 12:34       ` Bernhard Reutner-Fischer [this message]
2009-02-19 12:43         ` Peter Korsgaard
2009-02-19 23:39           ` Hamish Moffatt

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=20090219123430.GD1829@mx.loc \
    --to=rep.dot.nop@gmail.com \
    --cc=buildroot@busybox.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.