Re: powerpc{32,64} randconfigs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Le 21/04/2021 à 01:31, Randy Dunlap a écrit :
--- linux-next-20210420.orig/arch/powerpc/platforms/Kconfig.cputype
+++ linux-next-20210420/arch/powerpc/platforms/Kconfig.cputype
@@ -1,11 +1,12 @@
  # SPDX-License-Identifier: GPL-2.0
  config PPC32
  	bool
-	default y if !PPC64
+	default y if !PPC64 || "$(ARCH)" = "ppc32"

I don't think you need that change. If the ARCH is neither 'powerpc' not 'ppc64' CONFIG_PPC64 isn't set so CONFIG_PPC32 is set.


  	select KASAN_VMALLOC if KASAN && MODULES
config PPC64
-	bool "64-bit kernel"
+	bool "64-bit kernel" if "$(ARCH)" = "powerpc"
+	default y if "$(ARCH)" = "ppc64"
  	select ZLIB_DEFLATE
  	help
  	  This option selects whether a 32-bit or a 64-bit kernel



[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux