summaryrefslogtreecommitdiff
path: root/target-ppc/Makefile.objs
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2013-03-12 00:31:06 +0000
committerAlexander Graf <agraf@suse.de>2013-03-22 15:28:46 +0100
commit10b4652543313ca82284193fa107151c437f9b04 (patch)
tree22cfeca61368f56221253774cdaf5b02fe60ef2a /target-ppc/Makefile.objs
parent8152ceaf6eea6d63f6ee65eb419fff56bb3b987b (diff)
downloadqemu-10b4652543313ca82284193fa107151c437f9b04.tar.gz
target-ppc: Move SLB handling into a mmu-hash64.c
As a first step to disentangling the handling for 64-bit hash MMUs from the rest, we move the code handling the Segment Lookaside Buffer (SLB) (which only exists on 64-bit hash MMUs) into a new mmu-hash64.c file. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-ppc/Makefile.objs')
-rw-r--r--target-ppc/Makefile.objs5
1 files changed, 4 insertions, 1 deletions
diff --git a/target-ppc/Makefile.objs b/target-ppc/Makefile.objs
index 00ac4adc51..4ef9fc0491 100644
--- a/target-ppc/Makefile.objs
+++ b/target-ppc/Makefile.objs
@@ -1,6 +1,9 @@
obj-y += cpu-models.o
obj-y += translate.o
-obj-$(CONFIG_SOFTMMU) += machine.o
+ifeq ($(CONFIG_SOFTMMU),y)
+obj-y += machine.o
+obj-$(TARGET_PPC64) += mmu-hash64.o
+endif
obj-$(CONFIG_KVM) += kvm.o kvm_ppc.o
obj-y += excp_helper.o
obj-y += fpu_helper.o