All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Sebastian Herbszt" <herbszt@gmx.de>
To: Alexander Graf <agraf@suse.de>, qemu-devel@nongnu.org
Subject: [Qemu-devel] signrom.sh and MinGW
Date: Sat, 1 Aug 2009 23:47:26 +0200	[thread overview]
Message-ID: <75404CF870024F539884B8819ECD6E60@FSCPC> (raw)

v0.11.0-rc0-182-g28e738d/pc-bios/optionrom/signrom.sh multiboot.raw multiboot.bin
v0.11.0-rc0-182-g28e738d/pc-bios/optionrom/signrom.sh: * 512 - 1 : syntax error: operand expected (error token is "* 
512 - 1 ")
make[1]: *** [multiboot.bin] Error 1
rm multiboot.raw multiboot.img multiboot.o
make: *** [romsubdir-optionrom] Error 2

pc-bios/optionrom/signrom.sh has

# find out the file size
x=`dd if="$1" bs=1 count=1 skip=2 2>/dev/null | od -t u1 -A n`
#size=`expr $x \* 512 - 1`
size=$(( $x * 512 - 1 ))

but it seems (at least my) MinGW doesn't include "dd".

- Sebastian

             reply	other threads:[~2009-08-01 21:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-01 21:47 Sebastian Herbszt [this message]
2009-08-01 21:51 ` [Qemu-devel] signrom.sh and MinGW Filip Navara
2009-08-02 12:21   ` Sebastian Herbszt
2009-08-02 12:29     ` Alexander Graf
2009-08-02 19:56       ` Sebastian Herbszt

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=75404CF870024F539884B8819ECD6E60@FSCPC \
    --to=herbszt@gmx.de \
    --cc=agraf@suse.de \
    --cc=qemu-devel@nongnu.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.