[Buildroot] Excluding certain architectures for a package

Yann E. MORIN yann.morin.1998 at free.fr
Mon Dec 5 20:12:24 UTC 2022


Danillo, All,

On 2022-12-05 07:52 +0100, Danilo Bargen spake thusly:
> Hi all
> 
> The package below does not currently build on MIPS because one of
> crypto libraries it depends on doesn't yet fully support that
> architecture: https://github.com/briansmith/ring/issues/562
> 
> Is there a way to exclude certain architectures for a package? What
> is the process for this?

You can add a dependency on architectures like any other dependency; see
the manual:
    https://buildroot.org/downloads/manual/manual.html#dependencies-target-toolchain-options

Quoting:

    * Target architecture
      - Dependency symbol: BR2_powerpc, BR2_mips, … (see arch/Config.in)
      - Comment string: no comment to be added 

For example, to exclude all of mips and mips64:

    # Crypto opt not available for mips:
    depends on !(BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el)

Adapt appropriately, of course.

Regards,
Yann E. MORIN.

> Cheers,
> Danilo
> 
> ----- Original message -----
> Betreff: [autobuild.buildroot.net] Your daily results for 2022-11-03
> Datum: Freitag, 04. November 2022 08:39
> 
> Hello,
> 
> Autobuilder failures
> ====================
> 
> Below is a list of build failures reported by the Buildroot autobuilders
> in relation to packages or CPU architectures you are in charge of.
> Please help us improving the quality of Buildroot by investigating those
> build failures and sending patches to fix them.
> 
> Results for the 'master' branch
> -------------------------------
> 
> Build failures related to your packages:
> 
>     arch     |             reason             |                                       url                                      
> -------------+--------------------------------+---------------------------------------------------------------------------------
>     mips     |         tealdeer-1.6.1         | http://autobuild.buildroot.net/results/d4863f476de2a8b4c9d28ee52b1a48f5b0947c4b
> 
> 
> Thanks for your contribution to Buildroot!
> 
> -- 
> http://autobuild.buildroot.net
> _______________________________________________
> buildroot mailing list
> buildroot at buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
> _______________________________________________
> buildroot mailing list
> buildroot at buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'



More information about the buildroot mailing list