]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commitdiff
PPC: Move openpic to target specific code compilation
authorAlexander Graf <agraf@suse.de>
Wed, 20 Jul 2011 22:49:45 +0000 (00:49 +0200)
committerAlexander Graf <agraf@suse.de>
Thu, 6 Oct 2011 07:43:32 +0000 (09:43 +0200)
The MPIC has some funny feature where it maps different registers to an MMIO
region depending which CPU accesses them.

To be able to reflect that, we need to make OpenPIC be compiled in the target
code, so it can access cpu_single_env.

Signed-off-by: Alexander Graf <agraf@suse.de>
Makefile.objs
Makefile.target

index 8d23fbbbeef783dabfbc69f8d241da118bdebd8e..c849e51122f1a683e26ffd317db14c1afe153879 100644 (file)
@@ -222,7 +222,6 @@ hw-obj-$(CONFIG_SMARTCARD_NSS) += ccid-card-emulated.o
 hw-obj-$(CONFIG_USB_REDIR) += usb-redir.o
 
 # PPC devices
-hw-obj-$(CONFIG_OPENPIC) += openpic.o
 hw-obj-$(CONFIG_PREP_PCI) += prep_pci.o
 # Mac shared devices
 hw-obj-$(CONFIG_MACIO) += macio.o
index 88d2f1fb7ec3d1fbf08df6168f6ba94b5abf4858..8db9f37c70eaae05aea46da39356cc6ee532e0c6 100644 (file)
@@ -252,6 +252,8 @@ obj-ppc-y += ppce500_mpc8544ds.o mpc8544_guts.o
 obj-ppc-y += virtex_ml507.o
 obj-ppc-$(CONFIG_KVM) += kvm_ppc.o
 obj-ppc-$(CONFIG_FDT) += device_tree.o
+# PowerPC OpenPIC
+obj-ppc-y += openpic.o
 
 # Xilinx PPC peripherals
 obj-ppc-y += xilinx_intc.o