From: Thomas Huth Date: Thu, 8 Jun 2017 13:18:54 +0000 (+0200) Subject: hw/cpu: core.c can be compiled as common object X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=3b954105074b6e8ba38b609007a4c0a2f76e4d71;p=qemu.git 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 Reviewed-by: Juan Quintela Signed-off-by: David Gibson --- 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