Hello, I am using an absolute path there; I just removed it before posting on the email thread.
I have attached my local.conf here. Best regards, Jesús Jiménez Sánchez ________________________________ From: Sumit Garg <sumit.g...@linaro.org> Sent: Tuesday 20 June 2023 14:18 To: Ross Burton <ross.bur...@arm.com> Cc: Jesus Jimenez Sanchez <jesus.jimenezsanc...@verifone.com>; yocto@lists.yoctoproject.org <yocto@lists.yoctoproject.org> Subject: Re: [yocto] meta-arm-toolchain: SUPPORTED file not found #toolchain [You don't often get email from sumit.g...@linaro.org. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] CAUTION: This email originated from outside of our organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. On Tue, 20 Jun 2023 at 18:06, Ross Burton <ross.bur...@arm.com> wrote: > > On 20 Jun 2023, at 13:08, Sumit Garg via lists.yoctoproject.org > <sumit.garg=linaro....@lists.yoctoproject.org> wrote: > > > > On Mon, 19 Jun 2023 at 22:03, Jesus.JimenezSanchez via > > lists.yoctoproject.org > > <Jesus.JimenezSanchez=verifone....@lists.yoctoproject.org> wrote: > >> > >> Hello, I'm trying to add the arm toolchain to my yocto project but I just > >> got this error > >> ``` > >> | cp: cannot stat > >> '.../tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/external-arm-toolchain/2022.02-r0/image/local/SUPPORTED': > >> No such file or directory > >> ``` > >> It comes from the `external-arm-toolchain.bb` recipe. I've checked and the > >> `SUPPORTED` file is in the right folder (the `files` folder where the > >> `external-arm-toolchain.bb` file is). I haven't made any modifications to > >> the meta-arm repo. I just cloned it and changed to branch `kirkstone`. > >> After that, I have configured my local.conf with this: > >> ``` > >> TCMODE = "external-arm" > >> > >> EXTERNAL_TOOLCHAIN = > >> ".../gcc-arm-11.2-2022.02-x86_64-arm-none-linux-gnueabihf" > >> ``` > >> > > > > Don't provide a relative path here. It should be an absolute path to > > your external toolchain install directory. This should resolve your > > issue. > > If that’s the issue, can you add a check for the path being absolute to the > class? > Sure, see [1]. [1] https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.yoctoproject.org%2Fg%2Fmeta-arm%2Fmessage%2F4809&data=05%7C01%7CJesus.JimenezSanchez%40verifone.com%7C973f208b0af44819944408db7190e99c%7C611a22d68c40495884e3ce47d8205d98%7C0%7C0%7C638228639435319950%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=F7k3iyXYd8FFpc%2FMk2cPW3fKzKxIS44htt85A3liStA%3D&reserved=0<https://lists.yoctoproject.org/g/meta-arm/message/4809> -Sumit > Ross
local.conf.sample
Description: local.conf.sample
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#60363): https://lists.yoctoproject.org/g/yocto/message/60363 Mute This Topic: https://lists.yoctoproject.org/mt/99626981/21656 Mute #toolchain:https://lists.yoctoproject.org/g/yocto/mutehashtag/toolchain Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-