From: Julian Pidancet <julian.pidancet@gmail.com>
To: xen-devel@lists.xensource.com
Cc: Ian.Campbell@citrix.com, Julian Pidancet <julian.pidancet@gmail.com>
Subject: [PATCH v3 2/5] hvmloader: Allow the mkhex command to take several file arguments
Date: Sat, 11 Feb 2012 20:39:02 +0000 [thread overview]
Message-ID: <82d0187e1ef4edffc22f75131b03ca30492a388c.1328991838.git.julian.pidancet@gmail.com> (raw)
In-Reply-To: <cover.1328991838.git.julian.pidancet@gmail.com>
Signed-off-by: Julian Pidancet <julian.pidancet@gmail.com>
---
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 "};"
--
Julian Pidancet
next prev parent reply other threads:[~2012-02-11 20:39 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-11 20:39 [PATCH v3 0/5] hvmloader: Make ROM dependencies optional Julian Pidancet
2012-02-11 20:39 ` [PATCH v3 1/5] hvmloader: Only compile 32bitbios_support.c when rombios is enabled Julian Pidancet
2012-02-13 11:51 ` Ian Campbell
2012-02-11 20:39 ` Julian Pidancet [this message]
2012-02-13 11:51 ` [PATCH v3 2/5] hvmloader: Allow the mkhex command to take several file arguments Ian Campbell
2012-02-11 20:39 ` [PATCH v3 3/5] firmware: Use mkhex from hvmloader directory for etherboot ROMs Julian Pidancet
2012-02-13 11:52 ` Ian Campbell
2012-02-11 20:39 ` [PATCH v3 4/5] hvmloader: Move option ROM loading into a separate optionnal file Julian Pidancet
2012-02-13 11:53 ` Ian Campbell
2012-02-11 20:39 ` [PATCH v3 5/5] firmware: Introduce CONFIG_ROMBIOS and CONFIG_SEABIOS options Julian Pidancet
2012-02-13 11:55 ` Ian Campbell
2012-02-13 12:51 ` [PATCH v3 0/5] hvmloader: Make ROM dependencies optional Keir Fraser
2012-02-13 12:56 ` Ian Campbell
2012-02-13 13:09 ` Keir Fraser
2012-02-13 13:35 ` Ian Campbell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=82d0187e1ef4edffc22f75131b03ca30492a388c.1328991838.git.julian.pidancet@gmail.com \
--to=julian.pidancet@gmail.com \
--cc=Ian.Campbell@citrix.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).