Re: [OE-core] Regarding Patch ID: 132816
Hello, The regular expression (from OEToolchainConfig.cmake) below is not working for SDK path /sysroots/cortexa9hf-neon-poky-linux-gnueabi if ($ENV{SDKTARGETSYSROOT} MATCHES "/sysroots/([a-zA-Z0-9_-]+)-.+-.+") set(CMAKE_SYSTEM_PROCESSOR ${CMAKE_MATCH_1}) endif() Thanks, Chaitanya On Tue, Feb 13, 2018 at 9:50 AM, Otavio Salvador < otavio.salva...@ossystems.com.br> wrote: > On Tue, Feb 13, 2018 at 4:58 AM, Alexander Kanavin > wrote: > > On 02/12/2018 11:06 PM, Chaitanya Cherukuri wrote: > >> > >> I'm new to this forum and didn't know to where to report an issue. I'm > >> contacting you regarding the patch ID 132816 ( cmake: improve > >> CMAKE_SYSTEM_PROCESSOR assignment in nativesdk). > >> > >> If SDKTARGETSYSROOT is "/sysroots/cortexa9hf-neon-poky-linux-gnueabi" > this > >> patch sets the CMAKE_SYSTEM_PROCESSOR as "cortexa9hf-neon-poky" > instead of > >> "cortexa9hf-neon". > >> > >> This patch works if SDKTARGETSYSROOT is "/sysroots/core2-32-poky- > linux". > > > > I guess this one is for Otavio Salvador, the cmake recipe maintainer? > > I had acked and test the patch. https://patchwork. > openembedded.org/patch/132816/ > > -- > Otavio Salvador O.S. Systems > http://www.ossystems.com.brhttp://code.ossystems.com.br > Mobile: +55 (53) 9981-7854Mobile: +1 (347) 903-9750 > -- *Chaitanya Cherukuri* -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] Regarding Patch ID: 132816
On Tue, Feb 13, 2018 at 4:58 AM, Alexander Kanavin wrote: > On 02/12/2018 11:06 PM, Chaitanya Cherukuri wrote: >> >> I'm new to this forum and didn't know to where to report an issue. I'm >> contacting you regarding the patch ID 132816 ( cmake: improve >> CMAKE_SYSTEM_PROCESSOR assignment in nativesdk). >> >> If SDKTARGETSYSROOT is "/sysroots/cortexa9hf-neon-poky-linux-gnueabi" this >> patch sets the CMAKE_SYSTEM_PROCESSOR as "cortexa9hf-neon-poky" instead of >> "cortexa9hf-neon". >> >> This patch works if SDKTARGETSYSROOT is "/sysroots/core2-32-poky-linux". > > I guess this one is for Otavio Salvador, the cmake recipe maintainer? I had acked and test the patch. https://patchwork.openembedded.org/patch/132816/ -- Otavio Salvador O.S. Systems http://www.ossystems.com.brhttp://code.ossystems.com.br Mobile: +55 (53) 9981-7854Mobile: +1 (347) 903-9750 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] Regarding Patch ID: 132816
On 02/12/2018 11:06 PM, Chaitanya Cherukuri wrote: I'm new to this forum and didn't know to where to report an issue. I'm contacting you regarding the patch ID 132816 ( cmake: improve CMAKE_SYSTEM_PROCESSOR assignment in nativesdk). If SDKTARGETSYSROOT is "/sysroots/cortexa9hf-neon-poky-linux-gnueabi" this patch sets the CMAKE_SYSTEM_PROCESSOR as "cortexa9hf-neon-poky" instead of "cortexa9hf-neon". This patch works if SDKTARGETSYSROOT is "/sysroots/core2-32-poky-linux". I guess this one is for Otavio Salvador, the cmake recipe maintainer? Alex -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] Regarding Patch ID: 132816
Hello, I'm new to this forum and didn't know to where to report an issue. I'm contacting you regarding the patch ID 132816 ( cmake: improve CMAKE_SYSTEM_PROCESSOR assignment in nativesdk). If SDKTARGETSYSROOT is "/sysroots/cortexa9hf-neon-poky-linux-gnueabi" this patch sets the CMAKE_SYSTEM_PROCESSOR as "cortexa9hf-neon-poky" instead of "cortexa9hf-neon". This patch works if SDKTARGETSYSROOT is "/sysroots/core2-32-poky-linux". Thanks, Chaitanya -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core