Add a target-specific Kconfig. We need the definitions in Kconfig so
the minikconf tool can verify they exits. However CONFIG_FOO is only
enabled for target foo via the meson.build rules.
Two architecture have a particularity, ARM and MIPS. As their
translators have been split you can potentially build a plain 32 bit
build along with a 64-bit version including the 32-bit subset.
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <
20210131111316[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Message-Id: <
20210707131744[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
22 files changed:
source Kconfig.host
source backends/Kconfig
source accel/Kconfig
+source target/Kconfig
source hw/Kconfig
source semihosting/Kconfig
command: [minikconf,
get_option('default_devices') ? '--defconfig' : '--allnoconfig',
config_devices_mak, '@DEPFILE@', '@INPUT@',
- host_kconfig, accel_kconfig])
+ host_kconfig, accel_kconfig,
+ 'CONFIG_' + config_target['TARGET_ARCH'].to_upper() + '=y'])
config_devices_data = configuration_data()
config_devices = keyval.load(config_devices_mak)
--- /dev/null
+source alpha/Kconfig
+source arm/Kconfig
+source avr/Kconfig
+source cris/Kconfig
+source hppa/Kconfig
+source i386/Kconfig
+source m68k/Kconfig
+source microblaze/Kconfig
+source mips/Kconfig
+source nios2/Kconfig
+source openrisc/Kconfig
+source ppc/Kconfig
+source riscv/Kconfig
+source rx/Kconfig
+source s390x/Kconfig
+source sh4/Kconfig
+source sparc/Kconfig
+source tricore/Kconfig
+source xtensa/Kconfig
--- /dev/null
+config ALPHA
+ bool
--- /dev/null
+config ARM
+ bool
+
+config AARCH64
+ bool
+ select ARM
--- /dev/null
+config AVR
+ bool
--- /dev/null
+config CRIS
+ bool
--- /dev/null
+config HPPA
+ bool
--- /dev/null
+config I386
+ bool
+
+config X86_64
+ bool
--- /dev/null
+config M68K
+ bool
--- /dev/null
+config MICROBLAZE
+ bool
--- /dev/null
+config MIPS
+ bool
+
+config MIPS64
+ bool
+ select MIPS
--- /dev/null
+config NIOS2
+ bool
--- /dev/null
+config OPENRISC
+ bool
--- /dev/null
+config PPC
+ bool
+
+config PPC64
+ bool
--- /dev/null
+config RISCV32
+ bool
+
+config RISCV64
+ bool
--- /dev/null
+config RX
+ bool
--- /dev/null
+config S390X
+ bool
--- /dev/null
+config SH4
+ bool
--- /dev/null
+config SPARC
+ bool
+
+config SPARC64
+ bool
--- /dev/null
+config TRICORE
+ bool
--- /dev/null
+config XTENSA
+ bool