On Fri, Aug 07, 2015 at 06:27:18PM +0100, Julien Grall wrote:
> The firmware directory is not built at all on ARM. Attempting to update
> it using the target subtree-force-update will fail when try to update
> seabios.
> 
> Signed-off-by: Julien Grall <julien.gr...@citrix.com>
> 
> ---
> Cc: Ian Jackson <ian.jack...@eu.citrix.com>
> Cc: Stefano Stabellini <stefano.stabell...@eu.citrix.com>
> Cc: Ian Campbell <ian.campb...@citrix.com>
> Cc: Wei Liu <wei.l...@citrix.com>
> 
>     I've noticed it while trying to update the QEMU tree used by Xen on
>     a platform where iasl is not present (required by seabios in order
>     to update it).
> 
>     I think this should go in Xen 4.6 and possibly backport to Xen 4.5
> ---
>  tools/Makefile | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/tools/Makefile b/tools/Makefile
> index 45cb4b2..2618559 100644
> --- a/tools/Makefile
> +++ b/tools/Makefile
> @@ -305,7 +305,9 @@ endif
>  ifeq ($(CONFIG_QEMU_TRAD),y)
>       $(MAKE) qemu-xen-traditional-dir-force-update
>  endif
> +ifeq ($(CONFIG_X86),y)
>       $(MAKE) -C firmware subtree-force-update
> +endif
>  

This is not optimal. What if you want to build OVMF on arm in the
future? You also can't preclude you don't have any other firmwares that
need to be built on ARM in the future.

I think a proper way of doing this is to make CONFIG_SEABIOS=n when
you're building on ARM. See tools/configure.ac.

Wei.

>  subtree-force-update-all:
>       $(MAKE) qemu-xen-dir-force-update
> -- 
> 2.1.4

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to