We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94d5fa3 commit 9118591Copy full SHA for 9118591
tools/build_newlib.sh
@@ -27,6 +27,9 @@ then
27
exit 1
28
fi
29
30
+mkdir -p "$OUTPUT_DIR"
31
+OUTPUT_DIR=$(realpath "$OUTPUT_DIR")
32
+
33
# Working in a temporary folder
34
mkdir tmp && cd tmp
35
@@ -89,8 +92,6 @@ arm-none-eabi-strip --strip-debug "${INSTALL}/arm-none-eabi/lib/libc.a"
89
92
arm-none-eabi-strip --strip-debug "${INSTALL}/arm-none-eabi/lib/libm.a"
90
93
91
94
# Copy back
-mkdir -p "$OUTPUT_DIR"
-OUTPUT_DIR=$(realpath "$OUTPUT_DIR")
95
cp "${INSTALL}/arm-none-eabi/lib/libc.a" "$OUTPUT_DIR"
96
cp "${INSTALL}/arm-none-eabi/lib/libm.a" "$OUTPUT_DIR"
97
0 commit comments