diff mbox

[3/3] target-ppc: virtex-ml507 machine type should depend on CONFIG_XILINX

Message ID 1409027418-4453-4-git-send-email-david@gibson.dropbear.id.au
State New
Headers show

Commit Message

David Gibson Aug. 26, 2014, 4:30 a.m. UTC
The virtex-ml507 is a Xilinx CPU based system, and requires several sub
devices which are only included with CONFIG_XILINX.  Therefore, it should
only be compiled if CONFIG_XILINX is set.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
---
 hw/ppc/Makefile.objs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Peter Crosthwaite Aug. 26, 2014, 6:12 a.m. UTC | #1
On Tue, Aug 26, 2014 at 2:30 PM, David Gibson
<david@gibson.dropbear.id.au> wrote:
> The virtex-ml507 is a Xilinx CPU based system, and requires several sub
> devices which are only included with CONFIG_XILINX.  Therefore, it should
> only be compiled if CONFIG_XILINX is set.
>
> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>

Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>

> ---
>  hw/ppc/Makefile.objs | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/hw/ppc/Makefile.objs b/hw/ppc/Makefile.objs
> index edd44d0..19d9920 100644
> --- a/hw/ppc/Makefile.objs
> +++ b/hw/ppc/Makefile.objs
> @@ -20,4 +20,4 @@ obj-$(CONFIG_MAC) += mac_newworld.o
>  obj-$(CONFIG_E500) += e500.o mpc8544ds.o e500plat.o
>  obj-$(CONFIG_E500) += mpc8544_guts.o ppce500_spin.o
>  # PowerPC 440 Xilinx ML507 reference board.
> -obj-y += virtex_ml507.o
> +obj-$(CONFIG_XILINX) += virtex_ml507.o
> --
> 1.9.3
>
>
Alexander Graf Sept. 8, 2014, 11:10 a.m. UTC | #2
On 26.08.14 06:30, David Gibson wrote:
> The virtex-ml507 is a Xilinx CPU based system, and requires several sub
> devices which are only included with CONFIG_XILINX.  Therefore, it should
> only be compiled if CONFIG_XILINX is set.
> 
> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>

Thanks, applied to ppc-next.


Alex
diff mbox

Patch

diff --git a/hw/ppc/Makefile.objs b/hw/ppc/Makefile.objs
index edd44d0..19d9920 100644
--- a/hw/ppc/Makefile.objs
+++ b/hw/ppc/Makefile.objs
@@ -20,4 +20,4 @@  obj-$(CONFIG_MAC) += mac_newworld.o
 obj-$(CONFIG_E500) += e500.o mpc8544ds.o e500plat.o
 obj-$(CONFIG_E500) += mpc8544_guts.o ppce500_spin.o
 # PowerPC 440 Xilinx ML507 reference board.
-obj-y += virtex_ml507.o
+obj-$(CONFIG_XILINX) += virtex_ml507.o