diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/mkmi4.sh | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/tools/mkmi4.sh b/tools/mkmi4.sh index 00fee9bdfa..004c01305f 100755 --- a/tools/mkmi4.sh +++ b/tools/mkmi4.sh | |||
@@ -58,12 +58,15 @@ fi | |||
58 | 58 | ||
59 | case $target in | 59 | case $target in |
60 | e200) | 60 | e200) |
61 | sign="yes" | ||
61 | tea=sansa | 62 | tea=sansa |
62 | ;; | 63 | ;; |
63 | h10) | 64 | h10) |
65 | sign="yes" | ||
64 | tea=20gc_eng | 66 | tea=20gc_eng |
65 | ;; | 67 | ;; |
66 | h10_5gb) | 68 | h10_5gb) |
69 | buildopt="-2" | ||
67 | tea=default | 70 | tea=default |
68 | ;; | 71 | ;; |
69 | *) | 72 | *) |
@@ -91,10 +94,12 @@ fi | |||
91 | 94 | ||
92 | # build a 010301 version | 95 | # build a 010301 version |
93 | #echo "$tool build $input $output.raw" | 96 | #echo "$tool build $input $output.raw" |
94 | $tool build $input $output.raw | 97 | $tool build $buildopt $input $output.raw |
95 | # encrypt | 98 | # encrypt |
96 | #echo "$tool encrypt $output.raw $output.encrypt $tea" | 99 | #echo "$tool encrypt $output.raw $output.encrypt $tea" |
97 | $tool encrypt $output.raw $output.encrypt $tea | 100 | $tool encrypt $output.raw $output.encrypt $tea |
98 | # sign | 101 | # sign |
99 | #echo "$tool sign $output.encrypt $output" | 102 | if test -n "$sign"; then |
100 | $tool sign $output.encrypt $output | 103 | #echo "$tool sign $output.encrypt $output" |
104 | $tool sign $output.encrypt $output | ||
105 | fi | ||