aboutsummaryrefslogtreecommitdiff
path: root/hw/adc
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2019-09-11 20:56:08 +0200
committerThomas Huth <thuth@redhat.com>2020-02-04 09:00:57 +0100
commit3ab5a6ece5ce40a144b6838737f13a413651c5b1 (patch)
tree85ab7689b5a5572c15bcda47c7bf371c6237ae79 /hw/adc
parentd9018fbbd68bf3a8338828ee3038341518c74212 (diff)
downloadqemu-3ab5a6ece5ce40a144b6838737f13a413651c5b1.zip
qemu-3ab5a6ece5ce40a144b6838737f13a413651c5b1.tar.gz
qemu-3ab5a6ece5ce40a144b6838737f13a413651c5b1.tar.bz2
hw/*/Makefile.objs: Move many .o files to common-objs
We have many files that apparently do not depend on the target CPU configuration, i.e. which can be put into common-obj-y instead of obj-y. This way, the code can be shared for example between qemu-system-arm and qemu-system-aarch64, or the various big and little endian variants like qemu-system-sh4 and qemu-system-sh4eb, so that we do not have to compile the code multiple times anymore. Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Message-Id: <20200130133841.10779-1-thuth@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'hw/adc')
-rw-r--r--hw/adc/Makefile.objs2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/adc/Makefile.objs b/hw/adc/Makefile.objs
index 3f6dfde..2b9dc36 100644
--- a/hw/adc/Makefile.objs
+++ b/hw/adc/Makefile.objs
@@ -1 +1 @@
-obj-$(CONFIG_STM32F2XX_ADC) += stm32f2xx_adc.o
+common-obj-$(CONFIG_STM32F2XX_ADC) += stm32f2xx_adc.o