[Buildroot] [PATCH v2, 1/1] package/uboot-tools: fix MKIMAGE_ARCH handling

Yann E. MORIN yann.morin.1998 at free.fr
Sat Sep 11 20:35:04 UTC 2021


Fabrice, All,

On 2021-09-11 18:25 +0200, Fabrice Fontaine spake thusly:
> Le sam. 11 sept. 2021 à 18:16, Yann E. MORIN <yann.morin.1998 at free.fr> a écrit :
> > On 2021-09-11 18:07 +0200, Fabrice Fontaine spake thusly:
> > > Le sam. 11 sept. 2021 à 14:55, Yann E. MORIN <yann.morin.1998 at free.fr> a écrit :
> > > > On 2021-09-08 18:45 +0200, Fabrice Fontaine spake thusly:
> > > > > Fix MKIMAGE_ARCH handling to avoid the following build failure:
> > [--SNIP--]
[--SNIP--]
> I'm wondering if those build failures are raised because of toolchain aliases.
> Indeed, it seems that openrisc can be defined as a alias to or1k:
> https://github.com/u-boot/u-boot/blob/bbcacdf4cd23f2e5deb9ef916096c956c955243d/tools/buildman/README#L196
> https://github.com/u-boot/u-boot/blob/a94ab561e2f49a80d8579930e840b810ab1a1330/tools/buildman/bsettings.py#L88
> 
> But I didn't find the root cause of these build failures, perhaps the
> toolchain-alias is overwritten?
> So I gave up and thought that this patch was an acceptable long-term solution.

Agreed. I believe the patch does the correct thing and is sound. Knowing
the underlying cause would have been nice, but I'm not going to complain
too much. ;-)

Applied to master, thanks.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  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