1
0
Fork 0
forked from len0rd/rockbox

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