From: Paolo Bonzini Date: Tue, 5 Feb 2013 15:36:44 +0000 (+0100) Subject: hw: move ARM CPU cores to hw/cpu/, configure with default-configs/ X-Git-Tag: v1.5.0-rc0~313^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0434e30afb6175212389811e0b28b948eb3c1e40;p=thirdparty%2Fqemu.git hw: move ARM CPU cores to hw/cpu/, configure with default-configs/ Signed-off-by: Paolo Bonzini --- diff --git a/default-configs/arm-softmmu.mak b/default-configs/arm-softmmu.mak index e03840ec565..31725a97f91 100644 --- a/default-configs/arm-softmmu.mak +++ b/default-configs/arm-softmmu.mak @@ -34,6 +34,10 @@ CONFIG_PFLASH_CFI02=y CONFIG_MICRODRIVE=y CONFIG_USB_MUSB=y +CONFIG_ARM5MPCORE=y +CONFIG_ARM9MPCORE=y +CONFIG_ARM15MPCORE=y + CONFIG_ARM_GIC=y CONFIG_ARM_GIC_KVM=$(CONFIG_KVM) CONFIG_ARM_TIMER=y diff --git a/hw/arm/Makefile.objs b/hw/arm/Makefile.objs index cb94927e4c1..35c5f11ccae 100644 --- a/hw/arm/Makefile.objs +++ b/hw/arm/Makefile.objs @@ -1,5 +1,3 @@ -obj-y += arm11mpcore.o a9mpcore.o -obj-y += a15mpcore.o obj-y += strongarm.o obj-y := $(addprefix ../,$(obj-y)) diff --git a/hw/cpu/Makefile.objs b/hw/cpu/Makefile.objs index e69de29bb2d..a49ca042821 100644 --- a/hw/cpu/Makefile.objs +++ b/hw/cpu/Makefile.objs @@ -0,0 +1,4 @@ +obj-$(CONFIG_ARM11MPCORE) += arm11mpcore.o +obj-$(CONFIG_ARM9MPCORE) += a9mpcore.o +obj-$(CONFIG_ARM15MPCORE) += a15mpcore.o + diff --git a/hw/a15mpcore.c b/hw/cpu/a15mpcore.c similarity index 100% rename from hw/a15mpcore.c rename to hw/cpu/a15mpcore.c diff --git a/hw/a9mpcore.c b/hw/cpu/a9mpcore.c similarity index 100% rename from hw/a9mpcore.c rename to hw/cpu/a9mpcore.c diff --git a/hw/arm11mpcore.c b/hw/cpu/arm11mpcore.c similarity index 100% rename from hw/arm11mpcore.c rename to hw/cpu/arm11mpcore.c