powerpc/configs: Add ppc64le_allnoconfig target
authorMichael Ellerman <mpe@ellerman.id.au>
Wed, 25 Nov 2020 03:15:51 +0000 (14:15 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 15 Dec 2020 11:53:27 +0000 (22:53 +1100)
Add a phony target for ppc64le_allnoconfig, which tests some
combinations of CONFIG symbols that aren't covered by any of our
defconfigs.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201125031551.2112715-1-mpe@ellerman.id.au
arch/powerpc/Makefile
arch/powerpc/configs/ppc64le.config [new file with mode: 0644]

index fde3dbe..2bd509f 100644 (file)
@@ -375,6 +375,11 @@ ppc64le_allmodconfig:
        $(Q)$(MAKE) KCONFIG_ALLCONFIG=$(srctree)/arch/powerpc/configs/le.config \
                -f $(srctree)/Makefile allmodconfig
 
+PHONY += ppc64le_allnoconfig
+ppc64le_allnoconfig:
+       $(Q)$(MAKE) KCONFIG_ALLCONFIG=$(srctree)/arch/powerpc/configs/ppc64le.config \
+               -f $(srctree)/Makefile allnoconfig
+
 PHONY += ppc64_book3e_allmodconfig
 ppc64_book3e_allmodconfig:
        $(Q)$(MAKE) KCONFIG_ALLCONFIG=$(srctree)/arch/powerpc/configs/85xx-64bit.config \
diff --git a/arch/powerpc/configs/ppc64le.config b/arch/powerpc/configs/ppc64le.config
new file mode 100644 (file)
index 0000000..14dca10
--- /dev/null
@@ -0,0 +1,2 @@
+CONFIG_PPC64=y
+CONFIG_CPU_LITTLE_ENDIAN=y