Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

powerpc/Makefile: Add ppc32/ppc64_randconfig targets

Make it easier to generate a 32 or 64-bit specific randconfig.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Requested-by: Randy Dunlap <rdunlap@infradead.org>
Link: https://lore.kernel.org/r/20210428132700.3426100-1-mpe@ellerman.id.au

+12
+10
arch/powerpc/Makefile
··· 376 376 $(Q)$(MAKE) KCONFIG_ALLCONFIG=$(srctree)/arch/powerpc/configs/85xx-64bit.config \ 377 377 -f $(srctree)/Makefile allmodconfig 378 378 379 + PHONY += ppc32_randconfig 380 + ppc32_randconfig: 381 + $(Q)$(MAKE) KCONFIG_ALLCONFIG=$(srctree)/arch/powerpc/configs/32-bit.config \ 382 + -f $(srctree)/Makefile randconfig 383 + 384 + PHONY += ppc64_randconfig 385 + ppc64_randconfig: 386 + $(Q)$(MAKE) KCONFIG_ALLCONFIG=$(srctree)/arch/powerpc/configs/64-bit.config \ 387 + -f $(srctree)/Makefile randconfig 388 + 379 389 define archhelp 380 390 @echo '* zImage - Build default images selected by kernel config' 381 391 @echo ' zImage.* - Compressed kernel image (arch/$(ARCH)/boot/zImage.*)'
+1
arch/powerpc/configs/32-bit.config
··· 1 + # CONFIG_PPC64 is not set
+1
arch/powerpc/configs/64-bit.config
··· 1 + CONFIG_PPC64=y