Add elf2tab output to reproducible reference, to easily check for binary size regressions.
This commit is contained in:
@@ -16,10 +16,14 @@
|
||||
set -ex
|
||||
|
||||
echo "Board: $BOARD"
|
||||
echo "========================================" >> reproducible/elf2tab.txt
|
||||
echo "Board: $BOARD" >> reproducible/elf2tab.txt
|
||||
echo "----------------------------------------" >> reproducible/elf2tab.txt
|
||||
|
||||
./deploy.py --verbose-build --board=$BOARD --no-app --programmer=none
|
||||
./third_party/tock/tools/sha256sum/target/debug/sha256sum third_party/tock/target/thumbv7em-none-eabi/release/$BOARD.bin >> reproducible/binaries.sha256sum
|
||||
tar -rvf reproducible/reproduced.tar third_party/tock/target/thumbv7em-none-eabi/release/$BOARD.bin
|
||||
|
||||
./deploy.py --verbose-build --board=$BOARD --opensk --programmer=none
|
||||
./deploy.py --verbose-build --board=$BOARD --opensk --programmer=none --elf2tab-output reproducible/elf2tab.txt
|
||||
./third_party/tock/tools/sha256sum/target/debug/sha256sum target/${BOARD}_merged.hex >> reproducible/binaries.sha256sum
|
||||
tar -rvf reproducible/reproduced.tar target/${BOARD}_merged.hex
|
||||
|
||||
Reference in New Issue
Block a user