code: def all_arch_srcarch_kconfigs():
      
  
      os.environ["srctree"] = "."
      os.environ["HOSTCC"] = "gcc"
      os.environ["HOSTCXX"] = "g++"
      os.environ["CC"] = "gcc"
      os.environ["LD"] = "ld"
  
      for arch, srcarch in all_arch_srcarch_pairs():
          print("  Processing " + arch)
  
          os.environ["ARCH"] = arch
          os.environ["SRCARCH"] = srcarch
  
          # um (User Mode Linux) uses a different base Kconfig file
          yield Kconfig("Kconfig" if arch != "um" else "arch/x86/um/Kconfig",
                        warn=False)
docs: Generates Kconfig instances for all the architectures in the kernel