aboutsummaryrefslogtreecommitdiff
path: root/hw/ide/Makefile.objs
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2017-10-31 13:48:59 -0400
committerJohn Snow <jsnow@redhat.com>2017-10-31 13:48:59 -0400
commit2585c67983d726da98fbfb8b742d722c39f885cf (patch)
tree480e0ba243e9d53528fc3b787eb318fd88ffdf43 /hw/ide/Makefile.objs
parent7fa00e204902cee0b33a0c60de87e87319d1809f (diff)
hw/ide/ahci: Move allwinner code into a separate file
The allwinner code is only needed for the allwinner board (for which we also have a separate CONFIG_ALLWINNER_A10 config switch), so it does not make sense that we compile this for all the other boards that need AHCI, too. Let's move it to a separate file that is only compiled when CONFIG_ALLWINNER_A10 is set. Signed-off-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-id: 1508784509-29377-1-git-send-email-thuth@redhat.com Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'hw/ide/Makefile.objs')
-rw-r--r--hw/ide/Makefile.objs1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/ide/Makefile.objs b/hw/ide/Makefile.objs
index 729e9bd0db..f0edca3300 100644
--- a/hw/ide/Makefile.objs
+++ b/hw/ide/Makefile.objs
@@ -10,3 +10,4 @@ common-obj-$(CONFIG_IDE_VIA) += via.o
common-obj-$(CONFIG_MICRODRIVE) += microdrive.o
common-obj-$(CONFIG_AHCI) += ahci.o
common-obj-$(CONFIG_AHCI) += ich.o
+common-obj-$(CONFIG_ALLWINNER_A10) += ahci-allwinner.o