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

Yann E. MORIN yann.morin.1998 at free.fr
Sat Sep 11 16:16:14 UTC 2021


Fabrice, All,

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--]
> > > -ifeq ($(KERNEL_ARCH),x86_64)
> > > -MKIMAGE_ARCH = x86
> > > -else ifeq ($(KERNEL_ARCH),i386)
> > > +# For i386, we need to convert
> > > +# For openrisc, we need to convert
> > > +# For others, we'll just keep KERNEL_ARCH
> > > +ifeq ($(KERNEL_ARCH),i386)
> > >  MKIMAGE_ARCH = x86
> >
> > But then, x86_64 should still be changed to x86, no?
> Nope, x86_64 is recognized as a valid architecture, here is an extract
> of the commit message:
> 
>         x86              Intel x86
>         x86_64           AMD x86_64
>         xtensa           Xtensa

Ah, right, I overlooked that in the list.

What got me confused was that you specially mention or1k, but not
x86_64, which was also wrong, but we do not seem to have any build
failure associated with that, do we?

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