[Buildroot] [PATCH] toolchain/toolchain-external/toolchain-external-arm-arm: add dependency on NEON
Peter Korsgaard
peter at korsgaard.com
Mon Nov 16 15:05:43 UTC 2020
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at bootlin.com> writes:
> While testing Buildroot on a Cortex-A5 that doesn't provide NEON, we
> found out that a system generated with the ARM toolchain from Arm
> didn't boot. It turns out that this ARM toolchain is built with:
> --with-arch=armv7-a --with-fpu=neon --with-float=hard --with-mode=thumb
> So, it uses NEON as its FPU, which means it can only work on CPU cores
> that have NEON support. This commit adds the appropriate dependency to
> the toolchain-external-arm-arm package, and adjusts the Config.in help
> text accordingly.
> While at it, it also drops the part of the Config.in help text that
> says the code is tuned for Cortex-A9, as it is not the case: it was
> the case for the Linaro toolchain (built with --with-tune=cortex-a9),
> but not for the ARM toolchain, for which no specific --with-tune is
> passed.
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
> Cc: Alexandre Belloni <alexandre.belloni at bootlin.com>
> Cc: Romain Naour <romain.naour at gmail.com>
Committed to 2020.02.x and 2020.08.x, thanks.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list