[yocto] gcc not found

Burton, Ross ross.burton at intel.com
Wed Apr 25 05:19:23 PDT 2018


On 25 April 2018 at 09:59, ChenQi <Qi.Chen at windriver.com> wrote:
> After checking it again, I think removing the '/' would be sufficient.
>
> do_unpack[cleandirs] = "${@d.getVar('S') if d.getVar('S') !=
> d.getVar('WORKDIR') else os.path.join('${S}', 'patches')}"

To protect against this I'm running a test build with this change:

do_unpack[cleandirs] = "${@os.path.join('${S}', 'patches') if
os.path.samefile(d.getVar('S'), d.getVar('WORKDIR')) else
d.getVar('S')}"

Ross



More information about the yocto mailing list