[Buildroot] [PATCH v3 1/5] support/scripts/gen-bootlin-toolchains: add new script to support Bootlin toolchains

Titouan Christophe titouan.christophe at railnova.eu
Sun Aug 16 10:13:29 UTC 2020


Hello Thomas and all,

On 14/08/20 21:52, Thomas Petazzoni wrote:
> https://toolchains.bootlin.com/ has been providing for a few years a
> number of ready-to-use pre-built toolchains, for a wide range of
> architectures (which it turns out, are all built using Buildroot).
> 
> While toolchains.bootlin.com provides Buildroot config fragments to
> easily use those toolchains with Buildroot (see [0] for example), this
> is not visible anywhere. So instead, we would like to add support for
> these toolchains in Buildroot just like we have existing support for
> Linaro, ARM, Synopsys, etc. toolchains.

[--SNIP--]

> +def get_toolchains():
> +    toolchains = list()
> +    for arch, details in arches.items():
> +        print(arch)
> +        url = os.path.join(BASE_URL, arch, "available_toolchains")
> +        page = requests.get(url).text
> +        fnames = sorted(re.findall(r'<td><a href="(\w[^"]+)"', page))
> +        print(fnames)

This print(fnames) call should be removed. Besides this tiny remark,

Reviewed-by: Titouan Christophe <titouan.christophe at railnova.eu>
Tested-by: Titouan Christophe <titouan.christophe at railnova.eu>


Best regards,

Titouan



More information about the buildroot mailing list