mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-25 09:50:52 +00:00
Add a local version of the `riscv` crate with support for `-xous-` as an OS. This allows us to build our kernel using `riscv32imac-unknown-xous-elf` as a target. Signed-off-by: Sean Cross <sean@xobs.io>
21 lines
471 B
Bash
21 lines
471 B
Bash
#!/bin/bash
|
|
|
|
# Checks that the blobs are up to date with the committed assembly files
|
|
|
|
set -euxo pipefail
|
|
|
|
for lib in $(ls bin/*.a); do
|
|
filename=$(basename $lib)
|
|
riscv64-unknown-elf-objdump -Cd $lib > bin/${filename%.a}.before
|
|
done
|
|
|
|
./assemble.sh
|
|
|
|
for lib in $(ls bin/*.a); do
|
|
filename=$(basename $lib)
|
|
riscv64-unknown-elf-objdump -Cd $lib > bin/${filename%.a}.after
|
|
done
|
|
|
|
for cksum in $(ls bin/*.after); do
|
|
diff -u $cksum ${cksum%.after}.before
|
|
done
|