Patchwork [buildfix] target-ppc: Unbreak kvm_ppc.c build

login
register
mail settings
Submitter Andreas Färber
Date June 9, 2012, 1:43 a.m.
Message ID <1339206186-12992-1-git-send-email-andreas.faerber@web.de>
Download mbox | patch
Permalink /patch/163879/
State New
Headers show

Comments

Andreas Färber - June 9, 2012, 1:43 a.m.
The file is located in target-ppc/, not hw/.

Signed-off-by: Andreas Färber <andreas.faerber@web.de>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Anthony Liguori <anthony@codemonkey.ws>
Cc: Blue Swirl <blauwirbel@gmail.com>
---
 hw/ppc/Makefile.objs     |    1 -
 target-ppc/Makefile.objs |    2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)
Blue Swirl - June 9, 2012, 11:29 a.m.
Thanks, applied.

On Sat, Jun 9, 2012 at 1:43 AM, Andreas Färber <andreas.faerber@web.de> wrote:
> The file is located in target-ppc/, not hw/.
>
> Signed-off-by: Andreas Färber <andreas.faerber@web.de>
> Cc: Paolo Bonzini <pbonzini@redhat.com>
> Cc: Anthony Liguori <anthony@codemonkey.ws>
> Cc: Blue Swirl <blauwirbel@gmail.com>
> ---
>  hw/ppc/Makefile.objs     |    1 -
>  target-ppc/Makefile.objs |    2 +-
>  2 files changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/hw/ppc/Makefile.objs b/hw/ppc/Makefile.objs
> index 842e7b9..d0ef8a2 100644
> --- a/hw/ppc/Makefile.objs
> +++ b/hw/ppc/Makefile.objs
> @@ -18,7 +18,6 @@ obj-y += ppc440_bamboo.o
>  obj-y += ppce500_mpc8544ds.o mpc8544_guts.o ppce500_spin.o
>  # PowerPC 440 Xilinx ML507 reference board.
>  obj-y += virtex_ml507.o
> -obj-$(CONFIG_KVM) += kvm_ppc.o
>  # PowerPC OpenPIC
>  obj-y += openpic.o
>  obj-$(CONFIG_FDT) += ../device_tree.o
> diff --git a/target-ppc/Makefile.objs b/target-ppc/Makefile.objs
> index 95ed340..f781610 100644
> --- a/target-ppc/Makefile.objs
> +++ b/target-ppc/Makefile.objs
> @@ -1,6 +1,6 @@
>  obj-y += translate.o op_helper.o helper.o
>  obj-$(CONFIG_SOFTMMU) += machine.o
> -obj-$(CONFIG_KVM) += kvm.o
> +obj-$(CONFIG_KVM) += kvm.o kvm_ppc.o
>  obj-y += op_helper.o helper.o
>
>  $(obj)/op_helper.o: QEMU_CFLAGS += $(HELPER_CFLAGS)
> --
> 1.7.9.2
>

Patch

diff --git a/hw/ppc/Makefile.objs b/hw/ppc/Makefile.objs
index 842e7b9..d0ef8a2 100644
--- a/hw/ppc/Makefile.objs
+++ b/hw/ppc/Makefile.objs
@@ -18,7 +18,6 @@  obj-y += ppc440_bamboo.o
 obj-y += ppce500_mpc8544ds.o mpc8544_guts.o ppce500_spin.o
 # PowerPC 440 Xilinx ML507 reference board.
 obj-y += virtex_ml507.o
-obj-$(CONFIG_KVM) += kvm_ppc.o
 # PowerPC OpenPIC
 obj-y += openpic.o
 obj-$(CONFIG_FDT) += ../device_tree.o
diff --git a/target-ppc/Makefile.objs b/target-ppc/Makefile.objs
index 95ed340..f781610 100644
--- a/target-ppc/Makefile.objs
+++ b/target-ppc/Makefile.objs
@@ -1,6 +1,6 @@ 
 obj-y += translate.o op_helper.o helper.o
 obj-$(CONFIG_SOFTMMU) += machine.o
-obj-$(CONFIG_KVM) += kvm.o
+obj-$(CONFIG_KVM) += kvm.o kvm_ppc.o
 obj-y += op_helper.o helper.o
 
 $(obj)/op_helper.o: QEMU_CFLAGS += $(HELPER_CFLAGS)