From 3b954105074b6e8ba38b609007a4c0a2f76e4d71 Mon Sep 17 00:00:00 2001 From: Thomas Huth Date: Thu, 8 Jun 2017 15:18:54 +0200 Subject: [PATCH] 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 --- hw/cpu/Makefile.objs | 3 +-- 1 file changed, 1 insertion(+), 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 -- 2.11.4.GIT