qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] signrom.sh and MinGW


From: Sebastian Herbszt
Subject: [Qemu-devel] signrom.sh and MinGW
Date: Sat, 1 Aug 2009 23:47:26 +0200

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 via email to

[Prev in Thread] Current Thread [Next in Thread]