summaryrefslogtreecommitdiff
path: root/arch/powerpc/configs
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2018-07-10 00:24:25 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2018-07-24 22:03:15 +1000
commit8db0c9d416f26018cb7cabfb0b144f5108e29735 (patch)
treec7b37b469adac578fe2eaadde6a912fbe51f18ff /arch/powerpc/configs
parent6d44acae1937b81cf8115ada8958e04f601f3f2e (diff)
downloadlwn-8db0c9d416f26018cb7cabfb0b144f5108e29735.tar.gz
lwn-8db0c9d416f26018cb7cabfb0b144f5108e29735.zip
powerpc: Add ppc32_allmodconfig defconfig target
Because the allmodconfig logic just sets every symbol to M or Y, it has the effect of always generating a 64-bit config, because CONFIG_PPC64 becomes Y. So to make it easier for folks to test 32-bit code, provide a phony defconfig target that generates a 32-bit allmodconfig. The 32-bit port has several mutually exclusive CPU types, we choose the Book3S variants as that's what the help text in Kconfig says is most common. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/configs')
-rw-r--r--arch/powerpc/configs/book3s_32.config2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/configs/book3s_32.config b/arch/powerpc/configs/book3s_32.config
new file mode 100644
index 000000000000..8721eb7b1294
--- /dev/null
+++ b/arch/powerpc/configs/book3s_32.config
@@ -0,0 +1,2 @@
+CONFIG_PPC64=n
+CONFIG_PPC_BOOK3S_32=y