Re: [PATCHv2 rtems_waf] Allow vendor field in toolchain target triplet

2023-05-27 Thread Chris Johns
On 27/5/2023 2:03 am, martinerikwerner@gmail.com wrote: On Fri, 2023-05-26 at 08:33 +1000, Chris Johns wrote: On 25/5/2023 6:53 pm, martinerikwerner@gmail.com wrote: While poking around some more, it seems like there's more places in this file where assumptions of no vendor in the

Re: [PATCHv2 rtems_waf] Allow vendor field in toolchain target triplet

2023-05-26 Thread martinerikwerner . aac
On Fri, 2023-05-26 at 08:33 +1000, Chris Johns wrote: > On 25/5/2023 6:53 pm, martinerikwerner@gmail.com wrote: > > While poking around some more, it seems like there's more places in > > this file where assumptions of no vendor in the triplet might come > > into > > play (but did not affect

Re: [PATCHv2 rtems_waf] Allow vendor field in toolchain target triplet

2023-05-25 Thread Chris Johns
On 25/5/2023 6:53 pm, martinerikwerner@gmail.com wrote: > While poking around some more, it seems like there's more places in > this file where assumptions of no vendor in the triplet might come into > play (but did not affect my use of it), if I'm reading it correctly?: > > 227

Re: [PATCHv2 rtems_waf] Allow vendor field in toolchain target triplet

2023-05-25 Thread martinerikwerner . aac
While poking around some more, it seems like there's more places in this file where assumptions of no vendor in the triplet might come into play (but did not affect my use of it), if I'm reading it correctly?: 227 conf.env.ARCH_BSP = '%s/%s' % (arch.split('-')[0], bsp) 232

Re: [PATCHv2 rtems_waf] Allow vendor field in toolchain target triplet

2023-05-24 Thread Chris Johns
Looks good and thanks. I have pushed this. If you would like to submit module update patches for the various repos using rtems_waf please feel free to do so. Chris On 25/5/2023 4:13 am, Martin Erik Werner wrote: > Rework the splitting of arch and bsp to rely on the last field in the > arch

[PATCHv2 rtems_waf] Allow vendor field in toolchain target triplet

2023-05-24 Thread Martin Erik Werner
Rework the splitting of arch and bsp to rely on the last field in the arch section starting with "rtems", instead of relying on the arch being exactly two fields in size. This makes sure that toolchains with a vendor field in their target triplet can be used with this build system. Toolchains