powerpc/Makefile: Add generated defconfigs to help output
authorMichael Ellerman <mpe@ellerman.id.au>
Wed, 29 Mar 2023 07:23:34 +0000 (18:23 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 21 Apr 2023 06:16:13 +0000 (16:16 +1000)
commit22db99d673641d37c4e184ca8cff95d8441986af
treefdc0127e1bf189040e31a372921e5ee8ac9dd422
parent228c7a95534b438859d6cc068691164bd705a9c8
powerpc/Makefile: Add generated defconfigs to help output

Currently none of the generated defconfigs appear in the help output,
because the help text discovers defconfigs by looking for actual files
named "*_defconfig".

Collect the generated defconfig names into a variable and then print
those out in archhelp.

Output looks like eg:

  pseries_le_defconfig        - Build for pseries_le
  ppc64le_defconfig           - Build for ppc64le
  ppc64le_guest_defconfig     - Build for ppc64le_guest
  ...
  ppc64_randconfig            - Build for ppc64_randconfig

  adder875_defconfig          - Build for adder875
  amigaone_defconfig          - Build for amigaone

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
[mpe: Fix PHONY bug which broke in-tree build, thanks rmclure]
Link: https://msgid.link/20230329072334.2023357-2-mpe@ellerman.id.au
arch/powerpc/Makefile