fix the H10 5GB mi4 creation

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10677 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Daniel Stenberg 2006-08-21 15:14:21 +00:00
parent 5d6f6259ee
commit 9913913d83

View file

@ -58,12 +58,15 @@ fi
case $target in
e200)
sign="yes"
tea=sansa
;;
h10)
sign="yes"
tea=20gc_eng
;;
h10_5gb)
buildopt="-2"
tea=default
;;
*)
@ -91,10 +94,12 @@ fi
# build a 010301 version
#echo "$tool build $input $output.raw"
$tool build $input $output.raw
$tool build $buildopt $input $output.raw
# encrypt
#echo "$tool encrypt $output.raw $output.encrypt $tea"
$tool encrypt $output.raw $output.encrypt $tea
# sign
#echo "$tool sign $output.encrypt $output"
$tool sign $output.encrypt $output
if test -n "$sign"; then
#echo "$tool sign $output.encrypt $output"
$tool sign $output.encrypt $output
fi