[Buildroot] [PATCH 1/1] buildroot-test: enable toolchains based on hostarch

Matthew Weber matt at thewebers.ws
Thu Mar 31 01:42:33 UTC 2016


Thomas,

On Wed, Mar 30, 2016 at 8:30 PM, Thomas Petazzoni
<thomas.petazzoni at free-electrons.com> wrote:
> Hello,
>
> On Wed, 30 Mar 2016 20:24:49 -0500, Matthew Weber wrote:
>
<snip>

> Sounds good, but the conditions look complicated. What about something
> like:
>
>         keep = False
>
>         # Keep all toolchain configs that work regardless of the host
>         # architecture
>         if config['hostarch'] == "any":
>                 keep = True
>
>         # Keep all toolchain configs that can work on the current host
>         # architecture
>         if hostarch == config["hostarch"]:
>                 keep = True
>
>         # Assume that x86 32 bits toolchains work on x86_64 build
>         # machines
>         if hostarch == 'x86_64' and config["hostarch"] == "x86":
>                 keep = True
>
>         if not keep:
>                 continue
>

Appreciate the feedback.  I've pulled that in and will let things run
for the next day with all the changes we've discussed.


-- 
Thanks,
Matt



More information about the buildroot mailing list