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.


_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to