Skip to content

Instantly share code, notes, and snippets.

View DarkevilPT's full-sized avatar
😠
Maravilha do Caralho ham!

DarkevilPT DarkevilPT

😠
Maravilha do Caralho ham!
  • 15:46 (UTC)
View GitHub Profile
@DarkevilPT
DarkevilPT / build-termina-kernel.sh
Last active March 16, 2024 18:15 — forked from supechicken/build-termina-kernel.sh
Script snippet for building ChromeOS Crostini/Termina kernel
RELEASE=release-R114-15437.B-chromeos-5.10
LLVM_VERSION=18
curl -L https://apt.llvm.org/llvm.sh | sudo bash -s "${LLVM_VERSION}"
for f in clang clang++ ld.lld llvm-objdump llvm-ar llvm-nm llvm-strip llvm-objcopy llvm-readelf; do
sudo ln -sf $f-$LLVM_VERSION /usr/bin/$f
done
git clone https://chromium.googlesource.com/chromiumos/third_party/kernel.git -b ${RELEASE} --depth=1