diff options
author | 2018-08-27 15:59:39 +0200 | |
---|---|---|
committer | 2018-08-27 15:59:39 +0200 | |
commit | 11043a7e6295e656a39b5562d7db6d58c8bcad3f (patch) | |
tree | 4470ae1a5b334794ad36468138dc670ed4064851 | |
parent | e5b9974886f452d6a0889842c82a5a2b69d4b941 (diff) | |
download | cortex-m-11043a7e6295e656a39b5562d7db6d58c8bcad3f.tar.gz cortex-m-11043a7e6295e656a39b5562d7db6d58c8bcad3f.tar.zst cortex-m-11043a7e6295e656a39b5562d7db6d58c8bcad3f.zip |
backport check-blobs fix from rust-embedded/cortex-m#110
-rwxr-xr-x | cortex-m-rt/assemble.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cortex-m-rt/assemble.sh b/cortex-m-rt/assemble.sh index f9ec7d8..e59bb21 100755 --- a/cortex-m-rt/assemble.sh +++ b/cortex-m-rt/assemble.sh @@ -6,6 +6,9 @@ set -euxo pipefail crate=cortex-m-rt +# remove existing blobs because otherwise this will append object files to the old blobs +rm -f bin/*.a + arm-none-eabi-as -march=armv6s-m asm.s -o bin/$crate.o ar crs bin/thumbv6m-none-eabi.a bin/$crate.o |