]> cvs.zerfleddert.de Git - m1-debian/blobdiff - m1n1_uboot_kernel.sh
work on make patch kernel config work on config-6.0.0-5-arm64
[m1-debian] / m1n1_uboot_kernel.sh
index c26d6136fbded9e53e38a37fac06d5a7bb0a6229..ce99944fca2be2060837197cf17ad165c40bce1a 100644 (file)
@@ -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.txt > .config
+        cat ../../newconfig.txt > .config
+        make LLVM=-15 rustavailable
         make LLVM=-15 olddefconfig
         make -j `nproc` LLVM=-15 V=0 bindeb-pkg > /dev/null
 )
@@ -89,6 +93,6 @@ mkdir -p build
 cd build
 
 build_linux
-build_m1n1
-build_uboot
-package_boot_bin
+build_m1n1
+build_uboot
+package_boot_bin
Impressum, Datenschutz