Re: [PATCH 1/2] powerpc/32: Add ppc_defconfig
From: Mathieu Malaterre <hidden>
Date: 2019-02-07 10:19:51
On Thu, Feb 7, 2019 at 6:18 AM Michael Ellerman [off-list ref] wrote:
Add a generic 32-bit defconfig called ppc_defconfig. This means we'll have a defconfig matching "uname -m" for all cases.
Looks good to me: $ make defconfig *** Default configuration is based on 'ppc_defconfig' arch/powerpc/configs/ppc_defconfig:175:warning: symbol value 'm' invalid for NF_TABLES_INET arch/powerpc/configs/ppc_defconfig:176:warning: symbol value 'm' invalid for NF_TABLES_NETDEV arch/powerpc/configs/ppc_defconfig:304:warning: symbol value 'm' invalid for NF_TABLES_ARP arch/powerpc/configs/ppc_defconfig:358:warning: symbol value 'm' invalid for NF_TABLES_BRIDGE arch/powerpc/configs/ppc_defconfig:1427:warning: symbol value 'm' invalid for LIRC # # configuration written to .config # Tested-by: Mathieu Malaterre <redacted>
quoted hunk ↗ jump to hunk
This config is mostly intended for build testing but if someone wants to tweak it to get it booting on something that would be fine too. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> --- arch/powerpc/Makefile | 4 ++++ 1 file changed, 4 insertions(+)diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile index ac033341ed55..70e6e8119aeb 100644 --- a/arch/powerpc/Makefile +++ b/arch/powerpc/Makefile@@ -367,6 +367,10 @@ PHONY += ppc32_allmodconfig $(Q)$(MAKE) KCONFIG_ALLCONFIG=$(srctree)/arch/powerpc/configs/book3s_32.config \ -f $(srctree)/Makefile allmodconfig +PHONY += ppc_defconfig +ppc_defconfig: + $(call merge_into_defconfig,book3s_32.config,) + PHONY += ppc64le_allmodconfig ppc64le_allmodconfig: $(Q)$(MAKE) KCONFIG_ALLCONFIG=$(srctree)/arch/powerpc/configs/le.config \ --2.20.1