summaryrefslogtreecommitdiff
path: root/tools/asm_processor/compile.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/asm_processor/compile.sh')
-rwxr-xr-x[-rw-r--r--]tools/asm_processor/compile.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/asm_processor/compile.sh b/tools/asm_processor/compile.sh
index 8c367b3e..e10c9334 100644..100755
--- a/tools/asm_processor/compile.sh
+++ b/tools/asm_processor/compile.sh
@@ -9,7 +9,7 @@ PADDED_SRC="$(mktemp --suffix=.c padded-XXXXXX)"
PADDED_OBJ="$(mktemp --suffix=.o padded-XXXXXX)"
# Create a .c file replacing the nonmatching function with volatile int writes,
-# and compile.
+# and compile.
../tools/asm_processor/asm_processor.py "$SRC" --assembler "$AS" > "$PADDED_SRC"
$CC -c "$PADDED_SRC" -o "$PADDED_OBJ"
@@ -20,7 +20,7 @@ cat global.inc >> "$PRELUDE"
# Inject the matching assembly into the padded obj file.
../tools/asm_processor/asm_processor.py "$SRC" --post-process "$PADDED_OBJ" --assembler "$AS" --asm-prelude "$PRELUDE"
-$DEVKITARM/bin/arm-none-eabi-objcopy --remove-section .comment "$PADDED_OBJ" "$OBJ"
+arm-none-eabi-objcopy --remove-section .comment "$PADDED_OBJ" "$OBJ"
rm "$PADDED_SRC"
rm "$PADDED_OBJ"