aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2019-01-29 12:16:27 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2019-03-07 21:46:19 +0100
commit3a56c2f36c3f53da8ffebd9789a8fbd876d2f1a9 (patch)
treef9ad3cdbabcfdb3ccae0356909879f6e93cd4104
parente6f3d3fbdf1a8c77d14c6a18465a8174c39dd5ae (diff)
downloadqemu-3a56c2f36c3f53da8ffebd9789a8fbd876d2f1a9.zip
qemu-3a56c2f36c3f53da8ffebd9789a8fbd876d2f1a9.tar.gz
qemu-3a56c2f36c3f53da8ffebd9789a8fbd876d2f1a9.tar.bz2
xtensa-softmmu.mak: express dependencies with Kconfig
%-softmmu.mak only keep boards and optional device definitions in Kconfig mode. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r--default-configs/xtensa-softmmu.mak6
-rw-r--r--default-configs/xtensaeb-softmmu.mak7
-rw-r--r--hw/xtensa/Kconfig3
3 files changed, 6 insertions, 10 deletions
diff --git a/default-configs/xtensa-softmmu.mak b/default-configs/xtensa-softmmu.mak
index 7aa7fa6..7e4d1cc 100644
--- a/default-configs/xtensa-softmmu.mak
+++ b/default-configs/xtensa-softmmu.mak
@@ -1,8 +1,6 @@
# Default configuration for Xtensa
-CONFIG_SERIAL=y
-CONFIG_OPENCORES_ETH=y
-CONFIG_PFLASH_CFI01=y
-
+# Boards:
+#
CONFIG_XTENSA_SIM=y
CONFIG_XTENSA_XTFPGA=y
diff --git a/default-configs/xtensaeb-softmmu.mak b/default-configs/xtensaeb-softmmu.mak
index 7aa7fa6..f7e48c7 100644
--- a/default-configs/xtensaeb-softmmu.mak
+++ b/default-configs/xtensaeb-softmmu.mak
@@ -1,8 +1,3 @@
# Default configuration for Xtensa
-CONFIG_SERIAL=y
-CONFIG_OPENCORES_ETH=y
-CONFIG_PFLASH_CFI01=y
-
-CONFIG_XTENSA_SIM=y
-CONFIG_XTENSA_XTFPGA=y
+include xtensa-softmmu.mak
diff --git a/hw/xtensa/Kconfig b/hw/xtensa/Kconfig
index dc8eaf6..d72817d 100644
--- a/hw/xtensa/Kconfig
+++ b/hw/xtensa/Kconfig
@@ -3,3 +3,6 @@ config XTENSA_SIM
config XTENSA_XTFPGA
bool
+ select OPENCORES_ETH
+ select PFLASH_CFI01
+ select SERIAL