| Summary: | RefKit: eSDK toolchain environment variables have incorrect path | ||
|---|---|---|---|
| Product: | [Yocto Project Subprojects] IoT Reference OS Kit | Reporter: | Henry Bruce <henry.bruce> |
| Component: | intel-iot-refkit-tools | Assignee: | Mikko Ylinen <mikko.ylinen> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | bluelightning |
| Version: | 2.3 | ||
| Target Milestone: | 2.3 M4 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Don't know | |
|
Description
Henry Bruce
2017-04-05 18:18:46 UTC
(In reply to comment #0) > > Environment variables reference /home/hbruce/refkit-sdk/tmp/sysroots > Should be /home/hbruce/refkit-sdk/tmp-glibc/sysroots Does it work with poky? that 'tmp' part is hardcoded in meta-environment-extsdk.bb (OE-Core 4fe60d526a94f30b201c434994e80fef0f7392f0). (In reply to comment #1) > (In reply to comment #0) > > > > > Environment variables reference /home/hbruce/refkit-sdk/tmp/sysroots > > Should be /home/hbruce/refkit-sdk/tmp-glibc/sysroots > > > Does it work with poky? that 'tmp' part is hardcoded in > meta-environment-extsdk.bb (OE-Core > 4fe60d526a94f30b201c434994e80fef0f7392f0). Seems it works with poky esdk. For some reason 'tmp' exists while for refkit the default 'tmp-glibc' remains. It looks like an eSDk bug. In meta-environment-extsdk.bb commit 4fe60d5 sets TMPDIR=${TOPDIR}/tmp, should be TMPDIR=${TOPDIR}/tmp${TCLIBCAPPEND}.
I have patch ready that works with both poky+qemu and refkit, but not sure of the testing I need to do.
FYI we are supposed to be forcing ${TOPDIR}/tmp to be the value as per:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=785bec81ef75878749bd3a7a355bbd6aab16a198
(In reply to comment #4) > FYI we are supposed to be forcing ${TOPDIR}/tmp to be the value as per: > > http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/ > ?id=785bec81ef75878749bd3a7a355bbd6aab16a198 ext-sdk-prepare.py still gets TMPDIR as 'tmp-glibc'. Looks like defaultsetup.conf mangles TMPDIR still: # Allow single libc distros to disable this code TCLIBCAPPEND ?= "-${TCLIBC}" TMPDIR .= "${TCLIBCAPPEND}" poky has TCLIBCAPPEND="" so it works but we don't touch that. Looks like TCLIBCAPPEND needs to be set to "" in populate_sdk_ext.bbclass if we want to force static 'tmp'. Fixes available in the repo |