X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blobdiff_plain/cae69632ed89f09bea8319fa2afcc7d28dcfb4d1..8fca5a78d5ac869a5c3bd6531f744edc1fe0751d:/m1n1_uboot_kernel.sh?ds=sidebyside diff --git a/m1n1_uboot_kernel.sh b/m1n1_uboot_kernel.sh index 65ad628..2346db3 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 @@ -19,8 +23,8 @@ build_linux() cd linux git fetch -a -t git reset --hard asahi-6.1-rc8-3; - source "$HOME/.cargo/env" - cat ../../config-gpu.txt > .config + cat ../../config.txt > .config + make LLVM=-15 rustavailable make LLVM=-15 olddefconfig make -j `nproc` LLVM=-15 V=0 bindeb-pkg > /dev/null )