X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blobdiff_plain/e82b43b26cdf08c2e221c0f6a6196174211f0311..edb13c7c0eb6139e80a9746235cab31d3b59085d:/m1n1_uboot_kernel.sh?ds=sidebyside diff --git a/m1n1_uboot_kernel.sh b/m1n1_uboot_kernel.sh index c26d613..ace17ac 100644 --- a/m1n1_uboot_kernel.sh +++ b/m1n1_uboot_kernel.sh @@ -9,6 +9,10 @@ set -o xtrace cd "$(dirname "$0")" +export CARGO_HOME="$(pwd)/build/cargo" +export RUSTUP_HOME="$(pwd)/build/rust" +source "$(pwd)/build/cargo/env" + unset LC_CTYPE unset LANG @@ -18,9 +22,9 @@ build_linux() test -d linux || git clone https://github.com/AsahiLinux/linux cd linux git fetch -a -t - git reset --hard asahi-6.1-rc8-3; - source "$HOME/.cargo/env" + git reset --hard asahi-6.1-2; cat ../../config.txt > .config + make LLVM=-15 rustavailable make LLVM=-15 olddefconfig make -j `nproc` LLVM=-15 V=0 bindeb-pkg > /dev/null )