unset LC_CTYPE
unset LANG
-handle_crosscompile()
-{
- if [ "`uname -m`" != 'aarch64' ]; then
- export ARCH=arm64
- export CROSS_COMPILE=aarch64-linux-gnu-
- export DEBOOTSTRAP=qemu-debootstrap
- sudo apt install -y libc6-dev-arm64-cross
- fi
-}
-
build_linux()
{
(
git reset --hard asahi-6.1-rc8-3;
source "$HOME/.cargo/env"
cat ../../config-gpu.txt > .config
- make LLVM=-14 olddefconfig
- make -j `nproc` LLVM=-14 V=0 bindeb-pkg > /dev/null
+ make LLVM=-15 olddefconfig
+ make -j `nproc` LLVM=-15 V=0 bindeb-pkg > /dev/null
)
}
mkdir -p build
cd build
-handle_crosscompile
build_linux
build_m1n1
build_uboot