aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xupdate.sh12
1 files changed, 10 insertions, 2 deletions
diff --git a/update.sh b/update.sh
index 2e1f5c7..99a293a 100755
--- a/update.sh
+++ b/update.sh
@@ -167,7 +167,11 @@ gen_asm_stdout() {
167 .section .note.GNU-stack,"",%progbits 167 .section .note.GNU-stack,"",%progbits
168 #endif 168 #endif
169 EOF 169 EOF
170 $MV $3.tmp $3 170 if [ $1 = "masm" ]; then
171 cpp -I./crypto $3.tmp > $3
172 else
173 $MV $3.tmp $3
174 fi
171} 175}
172gen_asm() { 176gen_asm() {
173 CC=true perl $asm_src/$2 $1 $3.tmp 177 CC=true perl $asm_src/$2 $1 $3.tmp
@@ -176,7 +180,11 @@ gen_asm() {
176 .section .note.GNU-stack,"",%progbits 180 .section .note.GNU-stack,"",%progbits
177 #endif 181 #endif
178 EOF 182 EOF
179 $MV $3.tmp $3 183 if [ $1 = "masm" ]; then
184 cpp -I./crypto $3.tmp > $3
185 else
186 $MV $3.tmp $3
187 fi
180} 188}
181 189
182echo generating arm ASM source for elf 190echo generating arm ASM source for elf