[Buildroot] [PATCH] linux: Fix powerpc64le defconfig selection

Arnd Bergmann arnd at arndb.de
Wed May 18 22:03:19 AEST 2022


On Mon, May 16, 2022 at 2:17 PM Michael Ellerman <mpe at ellerman.id.au> wrote:
> Having said that I think we could handle this better in the powerpc
> kernel. Other arches allow specifying a different value for ARCH, which
> then is fed into the defconfig.
>
> That way you could at least pass ARCH=ppc/ppc64/ppc64le, and get an
> appropriate defconfig.
>
> I'll work on some kernel changes for that.

I would recommend against that. It's always a bit hacky, and I think this was
mainly done on x86 to avoid breaking user workflows after arch/i386
and arch/x86_64
got merged.

Since there was never an arch/ppc64le, and arch/{ppc,ppc64}/ are gone for so
long, I see no point in bringing back those interfaces, just use the right
defconfig for what you want.

        Arnd


More information about the Linuxppc-dev mailing list