mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +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>
16 lines
312 B
Bash
16 lines
312 B
Bash
#!/usr/bin/env bash
|
|
|
|
set -euxo pipefail
|
|
|
|
if [ -n "${TARGET:-}" ]; then
|
|
cargo check --target $TARGET
|
|
|
|
if [ $TRAVIS_RUST_VERSION = nightly ]; then
|
|
cargo check --target $TARGET --features inline-asm
|
|
fi
|
|
fi
|
|
|
|
if [ -n "${CHECK_BLOBS:-}" ]; then
|
|
PATH="$PATH:$PWD/gcc/bin"
|
|
./check-blobs.sh
|
|
fi
|