[ptxdist] [PATCH] microblaze: add u-boot tools dependency for kernel build target
Sadly the Microblaze architecture does not support an explicit uImage build target. The uImage is an implicit rule of simple image target. That's why we need an separate preselection for HOST_U_BOOT_TOOLS in the special case of KERNEL_IMAGE_SIMPLE and ARCH_MICROBLAZE are set. Signed-off-by: Stephan Linz --- platforms/kernel.in |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/platforms/kernel.in b/platforms/kernel.in index 01b31d3..93606f0 100644 --- a/platforms/kernel.in +++ b/platforms/kernel.in @@ -3,6 +3,7 @@ menuconfig KERNEL default y select IMAGE_KERNEL select HOST_U_BOOT_TOOLSif KERNEL_IMAGE_U + select HOST_U_BOOT_TOOLSif KERNEL_IMAGE_SIMPLE && ARCH_MICROBLAZE select HOST_XZ if KERNEL_XZ select HOST_LZOPif KERNEL_LZOP select CROSS_MODULE_INIT_TOOLS if KERNEL_MODULES -- 1.7.0.4 -- ptxdist mailing list ptxdist@pengutronix.de
[ptxdist] [PATCH] microblaze: add u-boot tools dependency for kernel build target
Sadly the Microblaze architecture does not support an explicit uImage build target. The uImage is an implicit rule of simple image target. That's why we need an separate preselection for HOST_U_BOOT_TOOLS in the special case of KERNEL_IMAGE_SIMPLE and ARCH_MICROBLAZE are set. Signed-off-by: Stephan Linz --- platforms/kernel.in |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/platforms/kernel.in b/platforms/kernel.in index 01b31d3..93606f0 100644 --- a/platforms/kernel.in +++ b/platforms/kernel.in @@ -3,6 +3,7 @@ menuconfig KERNEL default y select IMAGE_KERNEL select HOST_U_BOOT_TOOLSif KERNEL_IMAGE_U + select HOST_U_BOOT_TOOLSif KERNEL_IMAGE_SIMPLE && ARCH_MICROBLAZE select HOST_XZ if KERNEL_XZ select HOST_LZOPif KERNEL_LZOP select CROSS_MODULE_INIT_TOOLS if KERNEL_MODULES -- 1.7.0.4 -- ptxdist mailing list ptxdist@pengutronix.de
[ptxdist] [PATCH] microblaze: add u-boot tools dependency for kernel build target
Sadly the Microblaze architecture does not support an explicit uImage build target. The uImage is an implicit rule of simple image target. That's why we need an separate preselection for HOST_U_BOOT_TOOLS in the special case of KERNEL_IMAGE_SIMPLE and ARCH_MICROBLAZE are set. Signed-off-by: Stephan Linz --- platforms/kernel.in |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/platforms/kernel.in b/platforms/kernel.in index 01b31d3..6673d2d 100644 --- a/platforms/kernel.in +++ b/platforms/kernel.in @@ -2,7 +2,7 @@ menuconfig KERNEL bool default y select IMAGE_KERNEL - select HOST_U_BOOT_TOOLSif KERNEL_IMAGE_U + select HOST_U_BOOT_TOOLSif KERNEL_IMAGE_U || (KERNEL_IMAGE_SIMPLE && ARCH_MICROBLAZE) select HOST_XZ if KERNEL_XZ select HOST_LZOPif KERNEL_LZOP select CROSS_MODULE_INIT_TOOLS if KERNEL_MODULES -- 1.7.0.4 -- ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] [PATCH] microblaze: add u-boot tools dependency for kernel build target
On Tue, Apr 17, 2012 at 09:01:05PM +0200, Stephan Linz wrote: > Sadly the Microblaze architecture does not support an explicit > uImage build target. The uImage is an implicit rule of simple > image target. That's why we need an separate preselection for > HOST_U_BOOT_TOOLS in the special case of KERNEL_IMAGE_SIMPLE > and ARCH_MICROBLAZE are set. > > Signed-off-by: Stephan Linz > --- > platforms/kernel.in |1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/platforms/kernel.in b/platforms/kernel.in > index 01b31d3..93606f0 100644 > --- a/platforms/kernel.in > +++ b/platforms/kernel.in > @@ -3,6 +3,7 @@ menuconfig KERNEL > default y > select IMAGE_KERNEL > select HOST_U_BOOT_TOOLSif KERNEL_IMAGE_U > + select HOST_U_BOOT_TOOLSif KERNEL_IMAGE_SIMPLE && > ARCH_MICROBLAZE select HOST_U_BOOT_TOOLSif KERNEL_IMAGE_U || (KERNEL_IMAGE_SIMPLE && ARCH_MICROBLAZE) should work, I think. Michael > select HOST_XZ if KERNEL_XZ > select HOST_LZOPif KERNEL_LZOP > select CROSS_MODULE_INIT_TOOLS if KERNEL_MODULES > -- > 1.7.0.4 > > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0| Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- | -- ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] [PATCH] microblaze: add u-boot tools dependency for kernel build target
Am Mittwoch, den 18.04.2012, 10:11 +0200 schrieb Michael Olbrich: > On Tue, Apr 17, 2012 at 09:01:05PM +0200, Stephan Linz wrote: > > Sadly the Microblaze architecture does not support an explicit > > uImage build target. The uImage is an implicit rule of simple > > image target. That's why we need an separate preselection for > > HOST_U_BOOT_TOOLS in the special case of KERNEL_IMAGE_SIMPLE > > and ARCH_MICROBLAZE are set. > > > > Signed-off-by: Stephan Linz > > --- > > platforms/kernel.in |1 + > > 1 files changed, 1 insertions(+), 0 deletions(-) > > > > diff --git a/platforms/kernel.in b/platforms/kernel.in > > index 01b31d3..93606f0 100644 > > --- a/platforms/kernel.in > > +++ b/platforms/kernel.in > > @@ -3,6 +3,7 @@ menuconfig KERNEL > > default y > > select IMAGE_KERNEL > > select HOST_U_BOOT_TOOLSif KERNEL_IMAGE_U > > + select HOST_U_BOOT_TOOLSif KERNEL_IMAGE_SIMPLE && > > ARCH_MICROBLAZE > > select HOST_U_BOOT_TOOLSif KERNEL_IMAGE_U || > (KERNEL_IMAGE_SIMPLE && ARCH_MICROBLAZE) Hm, yes. I will test it and resubmit a new patch ... Stephan > > should work, I think. > > Michael > > > select HOST_XZ if KERNEL_XZ > > select HOST_LZOPif KERNEL_LZOP > > select CROSS_MODULE_INIT_TOOLS if KERNEL_MODULES > > -- > > 1.7.0.4 > > > > > > -- > Pengutronix e.K. | | > Industrial Linux Solutions | http://www.pengutronix.de/ | > Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0| > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- | -- ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] [PATCH] microblaze: add u-boot tools dependency for kernel build target
... please ignore this e-mail -- was the wrong git command line, grrr. br, Stephan Am Mittwoch, den 18.04.2012, 20:28 +0200 schrieb Stephan Linz: > Sadly the Microblaze architecture does not support an explicit > uImage build target. The uImage is an implicit rule of simple > image target. That's why we need an separate preselection for > HOST_U_BOOT_TOOLS in the special case of KERNEL_IMAGE_SIMPLE > and ARCH_MICROBLAZE are set. > > Signed-off-by: Stephan Linz > --- > platforms/kernel.in |1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/platforms/kernel.in b/platforms/kernel.in > index 01b31d3..93606f0 100644 > --- a/platforms/kernel.in > +++ b/platforms/kernel.in > @@ -3,6 +3,7 @@ menuconfig KERNEL > default y > select IMAGE_KERNEL > select HOST_U_BOOT_TOOLSif KERNEL_IMAGE_U > + select HOST_U_BOOT_TOOLSif KERNEL_IMAGE_SIMPLE && > ARCH_MICROBLAZE > select HOST_XZ if KERNEL_XZ > select HOST_LZOPif KERNEL_LZOP > select CROSS_MODULE_INIT_TOOLS if KERNEL_MODULES -- Viele Grüße, Stephan Linz __ MB-Ref: http://www.li-pro.de/xilinx_mb:mbref:start OpenDCC: http://www.li-pro.net/opendcc.phtml PC/M: http://www.li-pro.net/pcm.phtml Sourceforge: http://sourceforge.net/users/slz Gitorious: https://gitorious.org/~slz -- ptxdist mailing list ptxdist@pengutronix.de