Compile most IDE devices only once
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
diff --git a/default-configs/i386-softmmu.mak b/default-configs/i386-softmmu.mak
index 0f532bb..fd4d969 100644
--- a/default-configs/i386-softmmu.mak
+++ b/default-configs/i386-softmmu.mak
@@ -7,3 +7,7 @@
CONFIG_I8254=y
CONFIG_PCSPK=y
CONFIG_USB_UHCI=y
+CONFIG_IDE_QDEV=y
+CONFIG_IDE_PCI=y
+CONFIG_IDE_ISA=y
+CONFIG_IDE_PIIX=y
diff --git a/default-configs/mips-softmmu.mak b/default-configs/mips-softmmu.mak
index c0fe54e..0583dd9 100644
--- a/default-configs/mips-softmmu.mak
+++ b/default-configs/mips-softmmu.mak
@@ -8,3 +8,7 @@
CONFIG_I8254=y
CONFIG_PCSPK=y
CONFIG_USB_UHCI=y
+CONFIG_IDE_QDEV=y
+CONFIG_IDE_PCI=y
+CONFIG_IDE_ISA=y
+CONFIG_IDE_PIIX=y
diff --git a/default-configs/mips64-softmmu.mak b/default-configs/mips64-softmmu.mak
index 1543c4f..4707ce3 100644
--- a/default-configs/mips64-softmmu.mak
+++ b/default-configs/mips64-softmmu.mak
@@ -8,3 +8,7 @@
CONFIG_I8254=y
CONFIG_PCSPK=y
CONFIG_USB_UHCI=y
+CONFIG_IDE_QDEV=y
+CONFIG_IDE_PCI=y
+CONFIG_IDE_ISA=y
+CONFIG_IDE_PIIX=y
diff --git a/default-configs/mips64el-softmmu.mak b/default-configs/mips64el-softmmu.mak
index acf0604..4be19a5 100644
--- a/default-configs/mips64el-softmmu.mak
+++ b/default-configs/mips64el-softmmu.mak
@@ -8,3 +8,7 @@
CONFIG_I8254=y
CONFIG_PCSPK=y
CONFIG_USB_UHCI=y
+CONFIG_IDE_QDEV=y
+CONFIG_IDE_PCI=y
+CONFIG_IDE_ISA=y
+CONFIG_IDE_PIIX=y
diff --git a/default-configs/mipsel-softmmu.mak b/default-configs/mipsel-softmmu.mak
index f1878fc..6fd5a5e 100644
--- a/default-configs/mipsel-softmmu.mak
+++ b/default-configs/mipsel-softmmu.mak
@@ -8,3 +8,7 @@
CONFIG_I8254=y
CONFIG_PCSPK=y
CONFIG_USB_UHCI=y
+CONFIG_IDE_QDEV=y
+CONFIG_IDE_PCI=y
+CONFIG_IDE_ISA=y
+CONFIG_IDE_PIIX=y
diff --git a/default-configs/ppc-softmmu.mak b/default-configs/ppc-softmmu.mak
index 9271492..2bdf957 100644
--- a/default-configs/ppc-softmmu.mak
+++ b/default-configs/ppc-softmmu.mak
@@ -7,3 +7,7 @@
CONFIG_M48T59=y
CONFIG_VGA_PCI=y
CONFIG_I8254=y
+CONFIG_IDE_QDEV=y
+CONFIG_IDE_PCI=y
+CONFIG_IDE_ISA=y
+CONFIG_IDE_CMD646=y
diff --git a/default-configs/ppc64-softmmu.mak b/default-configs/ppc64-softmmu.mak
index 38d934e..7e2481c 100644
--- a/default-configs/ppc64-softmmu.mak
+++ b/default-configs/ppc64-softmmu.mak
@@ -7,3 +7,7 @@
CONFIG_M48T59=y
CONFIG_VGA_PCI=y
CONFIG_I8254=y
+CONFIG_IDE_QDEV=y
+CONFIG_IDE_PCI=y
+CONFIG_IDE_ISA=y
+CONFIG_IDE_CMD646=y
diff --git a/default-configs/ppcemb-softmmu.mak b/default-configs/ppcemb-softmmu.mak
index e4d314c..edb94dc 100644
--- a/default-configs/ppcemb-softmmu.mak
+++ b/default-configs/ppcemb-softmmu.mak
@@ -7,3 +7,7 @@
CONFIG_M48T59=y
CONFIG_VGA_PCI=y
CONFIG_I8254=y
+CONFIG_IDE_QDEV=y
+CONFIG_IDE_PCI=y
+CONFIG_IDE_ISA=y
+CONFIG_IDE_CMD646=y
diff --git a/default-configs/sparc64-softmmu.mak b/default-configs/sparc64-softmmu.mak
index d7c3065..12155cd 100644
--- a/default-configs/sparc64-softmmu.mak
+++ b/default-configs/sparc64-softmmu.mak
@@ -5,3 +5,7 @@
CONFIG_PTIMER=y
CONFIG_VGA_PCI=y
CONFIG_PARALLEL=y
+CONFIG_IDE_QDEV=y
+CONFIG_IDE_PCI=y
+CONFIG_IDE_ISA=y
+CONFIG_IDE_CMD646=y
diff --git a/default-configs/x86_64-softmmu.mak b/default-configs/x86_64-softmmu.mak
index 1150512..99be394 100644
--- a/default-configs/x86_64-softmmu.mak
+++ b/default-configs/x86_64-softmmu.mak
@@ -7,3 +7,7 @@
CONFIG_I8254=y
CONFIG_PCSPK=y
CONFIG_USB_UHCI=y
+CONFIG_IDE_QDEV=y
+CONFIG_IDE_PCI=y
+CONFIG_IDE_ISA=y
+CONFIG_IDE_PIIX=y