powerpc/Makefile: Default to ppc64le_defconfig when cross building
authorMichael Ellerman <mpe@ellerman.id.au>
Wed, 6 Dec 2023 11:55:47 +0000 (22:55 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 7 Dec 2023 12:34:38 +0000 (23:34 +1100)
commit22f17b02f88b48c01d3ac38d40d2b0b695ab2d10
treee2e95c1b7781c3ed4ec7cf47c59b3e5b88f6adbc
parent42449052c94f22e18e01d71147d8fd75cb58132a
powerpc/Makefile: Default to ppc64le_defconfig when cross building

If the kernel is being cross compiled, there is no information from
uname on which defconfig is most appropriate, so the Makefile defaults
to ppc64.

However these days almost all distros that support powerpc are little
endian, so it's more likely that defaulting to ppc64le_defconfig will
produce something useful for a user.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20231206115548.1466874-3-mpe@ellerman.id.au
arch/powerpc/Makefile