[Buildroot] [PATCH v2 1/3] arch: add support for mcf5441x Colfdire
Jean-Michel Hautbois
jeanmichel.hautbois at yoseli.org
Thu Apr 11 05:59:49 UTC 2024
On 10/04/2024 23:17, Thomas Petazzoni via buildroot wrote:
> On Wed, 10 Apr 2024 23:08:14 +0200
> Jean-Michel Hautbois <jeanmichel.hautbois at yoseli.org> wrote:
>
>>> What happens when you don't specify -march? Do you know which of isaa,
>>> isaaplus, isab and isac the MCF5441x corresponds to?
>>
>> I did not check what happens, but based on the following file it is isac:
>> https://github.com/gcc-mirror/gcc/blob/master/gcc/config/m68k/m68k-devices.def#L168
>
> And if you specify -mcpu instead, does it work? What doesn't work if
> you omit -march?
If I change the line to pass isac, host-gcc-final doest not build at all:
<snip>
checking if mkdir takes one argument... no
Invalid --with-arch=isac
make[3]: *** [Makefile:4553: configure-gcc] Error 1
make[2]: *** [Makefile:1029: all] Error 2
make[1]: *** [package/pkg-generic.mk:283:
/home/jm/Projects/wabtec/buildroot/output/build/host-gcc-final-12.3.0/.stamp_built]
Error 2
As I am not as experimented as you with toolchains, I would certainly
appreciate some guidance to debug if needed.
I can tell for sure that with "cf" and the 54455 family specified, it
builds my applications ;-).
JM
More information about the buildroot
mailing list