]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
hw/cpu: core.c can be compiled as common object
authorThomas Huth <thuth@redhat.com>
Thu, 8 Jun 2017 13:18:54 +0000 (15:18 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Fri, 9 Jun 2017 02:02:55 +0000 (12:02 +1000)
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>
hw/cpu/Makefile.objs

index 942a4bb82e48bb1eeca2d69e0870f3baeff78254..cd52d20b6525b805913694e6aa285dc1901d7e0d 100644 (file)
@@ -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