]> xenbits.xensource.com Git - people/vhanquez/xen.git/commitdiff
hvmloader: Allow the mkhex command to take several file arguments
authorJulian Pidancet <julian.pidancet@gmail.com>
Mon, 13 Feb 2012 12:48:20 +0000 (12:48 +0000)
committerJulian Pidancet <julian.pidancet@gmail.com>
Mon, 13 Feb 2012 12:48:20 +0000 (12:48 +0000)
Signed-off-by: Julian Pidancet <julian.pidancet@gmail.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/firmware/hvmloader/mkhex

index 4517e36c533623f7f131139740468dff515d04f8..cb2125702e10e7086a6efefd469148cd1afe0ded 100755 (executable)
@@ -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 "};"