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

[Xen-changelog] [xen-unstable] hvmloader: Allow the mkhex command to take several file arguments



# HG changeset patch
# User Julian Pidancet <julian.pidancet@xxxxxxxxx>
# Date 1329137300 0
# Node ID 0fe9e2556e201eb4d9fe41c95b610697e1ca2c4c
# Parent  e1f10d12b9fe5eca56cb7bc5ac332662865cf42f
hvmloader: Allow the mkhex command to take several file arguments
Signed-off-by: Julian Pidancet <julian.pidancet@xxxxxxxxx>
Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---


diff -r e1f10d12b9fe -r 0fe9e2556e20 tools/firmware/hvmloader/mkhex
--- a/tools/firmware/hvmloader/mkhex    Mon Feb 13 12:47:46 2012 +0000
+++ b/tools/firmware/hvmloader/mkhex    Mon Feb 13 12:48:20 2012 +0000
@@ -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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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