All of lore.kernel.org
 help / color / mirror / Atom feed
* Out of tree build yocto dylan
@ 2013-10-28 10:22 Volker Vogelhuber
  2013-10-28 18:46 ` Trevor Woerner
  0 siblings, 1 reply; 3+ messages in thread
From: Volker Vogelhuber @ 2013-10-28 10:22 UTC (permalink / raw)
  To: yocto

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.




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

end of thread, other threads:[~2013-10-29  8:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-28 10:22 Out of tree build yocto dylan Volker Vogelhuber
2013-10-28 18:46 ` Trevor Woerner
2013-10-29  8:43   ` Volker Vogelhuber

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.