All of lore.kernel.org
 help / color / mirror / Atom feed
From: Volker Vogelhuber <v.vogelhuber@digitalendoscopy.de>
To: <yocto@yoctoproject.org>
Subject: Out of tree build yocto dylan
Date: Mon, 28 Oct 2013 11:22:37 +0100	[thread overview]
Message-ID: <526E3AED.8010501@digitalendoscopy.de> (raw)

I'm currently trying to have the TMPDIR moved out of the normal 
repository path under dylan.
If I set it to
TMPDIR = "${TOPDIR}/../../build/tmp"
some of the build recipes fail because of the dots (e.g. mkdir-p.pl in 
openssl and ti-dsp-link from the meta-ti repository). I fixed it by 
adding a require conf/gettmpdir.inc containing the following
code:

def gettmpdir(d):
     return os.path.abspath(d.getVar("TOPDIR", True) + "/../../build/tmp");

and set the TMPDIR within the local.conf now to TMPDIR = "${@gettmpdir(d)}"
But I wonder if it wouldn't be a good idea to introduce a call to 
os.path.abspath on the TMPDIR in general.




             reply	other threads:[~2013-10-28 10:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-28 10:22 Volker Vogelhuber [this message]
2013-10-28 18:46 ` Out of tree build yocto dylan Trevor Woerner
2013-10-29  8:43   ` Volker Vogelhuber

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=526E3AED.8010501@digitalendoscopy.de \
    --to=v.vogelhuber@digitalendoscopy.de \
    --cc=yocto@yoctoproject.org \
    /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.