aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2019-01-29 12:16:26 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2019-03-07 21:46:19 +0100
commit23c95f06feef52b0cec75af20828c36b4c98cb4d (patch)
tree87bfe48cde459ba060438d34b274aac57d38c63c
parentd1a95ef4ace6b0106d7ee71f3d9e3e57c374df67 (diff)
cris-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/cris-softmmu.mak5
-rw-r--r--hw/cris/Kconfig3
2 files changed, 5 insertions, 3 deletions
diff --git a/default-configs/cris-softmmu.mak b/default-configs/cris-softmmu.mak
index b3cae5966b..5932cf4d06 100644
--- a/default-configs/cris-softmmu.mak
+++ b/default-configs/cris-softmmu.mak
@@ -1,6 +1,5 @@
# Default configuration for cris-softmmu
-CONFIG_ETRAXFS=y
-CONFIG_NAND=y
-CONFIG_PFLASH_CFI02=y
+# Boards:
+#
CONFIG_AXIS=y
diff --git a/hw/cris/Kconfig b/hw/cris/Kconfig
index b7738ab2eb..884ad2cbc0 100644
--- a/hw/cris/Kconfig
+++ b/hw/cris/Kconfig
@@ -1,5 +1,8 @@
config AXIS
bool
+ select ETRAXFS
+ select PFLASH_CFI02
+ select NAND
config ETRAXFS
bool