boost: do not allow selecting fiber module on mips32/mips64
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 22 Nov 2017 22:25:40 +0000 (23:25 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 22 Nov 2017 22:25:40 +0000 (23:25 +0100)
commit914bd57db76941f4ca7c33eb8e217f06f790a6c2
treec9215d31330a9a5518aa856355c64f3beb029aba
parent194acd0b69c7c6c6b0e0fb1c589902460c632b49
boost: do not allow selecting fiber module on mips32/mips64

The fiber module uses the cpu_relax() macro, for which the MIPS
implementation uses the "pause" instruction, only available since
mips32r2 and mips64r2. In order to avoid build failures on
mips32/mips64, we disallow the selection of the fiber module for such
architecture variants.

This solution was suggested by Arnout Vandecappelle.

Fixes:

  http://autobuild.buildroot.net/results/0439790b6f472e3d4b2d5431a05aa5b408f62e56/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/boost/Config.in