aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2017-06-08 15:18:54 +0200
committerDavid Gibson <david@gibson.dropbear.id.au>2017-06-09 12:02:55 +1000
commit3b954105074b6e8ba38b609007a4c0a2f76e4d71 (patch)
treeb5edfcacfea45878cf3e62386ae2d5a43cc6f02c /hw
parent4871dd4c3f70f528147f426fe42676b4193cb3b7 (diff)
hw/cpu: core.c can be compiled as common object
There does not seem to be any target specific code in core.c, so we can put it into "common-obj" instead of "obj" to compile it only once for all targets. Signed-off-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw')
-rw-r--r--hw/cpu/Makefile.objs3
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/cpu/Makefile.objs b/hw/cpu/Makefile.objs
index 942a4bb82e..cd52d20b65 100644
--- a/hw/cpu/Makefile.objs
+++ b/hw/cpu/Makefile.objs
@@ -2,5 +2,4 @@ obj-$(CONFIG_ARM11MPCORE) += arm11mpcore.o
obj-$(CONFIG_REALVIEW) += realview_mpcore.o
obj-$(CONFIG_A9MPCORE) += a9mpcore.o
obj-$(CONFIG_A15MPCORE) += a15mpcore.o
-obj-y += core.o
-
+common-obj-y += core.o