qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] signrom.sh and MinGW
@ 2009-08-01 21:47 Sebastian Herbszt
  2009-08-01 21:51 ` Filip Navara
  0 siblings, 1 reply; 5+ messages in thread
From: Sebastian Herbszt @ 2009-08-01 21:47 UTC (permalink / raw)
  To: Alexander Graf, qemu-devel

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-08-02 19:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-01 21:47 [Qemu-devel] signrom.sh and MinGW Sebastian Herbszt
2009-08-01 21:51 ` Filip Navara
2009-08-02 12:21   ` Sebastian Herbszt
2009-08-02 12:29     ` Alexander Graf
2009-08-02 19:56       ` Sebastian Herbszt

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).