[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v3 2/5] hvmloader: Allow the mkhex command to take several file arguments



On Sat, 2012-02-11 at 20:39 +0000, Julian Pidancet wrote:
> Signed-off-by: Julian Pidancet <julian.pidancet@xxxxxxxxx>

Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>

> ---
>  tools/firmware/hvmloader/mkhex |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/tools/firmware/hvmloader/mkhex b/tools/firmware/hvmloader/mkhex
> index 4517e36..cb21257 100755
> --- a/tools/firmware/hvmloader/mkhex
> +++ b/tools/firmware/hvmloader/mkhex
> @@ -21,6 +21,7 @@
>  #
>  
>  echo "unsigned $1[] = {"
> -od -v -t x $2 | sed 's/^[0-9]*  */0x/' | sed 's/  */, 0x/g' | sed 's/$/,/' | 
> sed 's/0x,//' | sed 's/^[0-9]*,//'
> +shift
> +od -v -t x $@ | sed 's/^[0-9]*  */0x/' | sed 's/  */, 0x/g' | sed 's/$/,/' | 
> sed 's/0x,//' | sed 's/^[0-9]*,//'
>  echo "};"
>  



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.