Initial commit
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
cp ../config.$CARCH .config
|
||||
LLVM=1 make olddefconfig
|
||||
LLVM=1 make -s kernelrelease > version
|
||||
LLVM=1 make all
|
||||
echo "Installing Kernel..."
|
||||
install -Dm644 "$(make -s image_name)" "$DESTDIR/boot/vmlinuz-linux-vertex"
|
||||
echo "Installing modules..."
|
||||
ZSTD_CLEVEL=22 LLVM=1 make INSTALL_MOD_PATH="$DESTDIR/usr" INSTALL_MOD_STRIP=1 DEPMOD=/doesnt/exist modules_install
|
||||
find "$DESTDIR/usr/lib/modules" -mindepth 2 -maxdepth 2 \( -name build -o -name source \) -exec rm -rf -- {} +
|
||||
kver="$(LLVM=1 make -s kernelrelease)"
|
||||
ln -sfn "../../../../boot/vmlinuz-linux-vertex" "$DESTDIR/usr/lib/modules/$kver/vmlinuz"
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,46 @@
|
||||
[build]
|
||||
type = "custom"
|
||||
|
||||
[build.flags]
|
||||
no_strip = true
|
||||
|
||||
[dependencies]
|
||||
build = [
|
||||
"bc",
|
||||
"cpio",
|
||||
"gettext",
|
||||
"perl",
|
||||
"python",
|
||||
"libelf",
|
||||
"rust",
|
||||
"rust-bindgen",
|
||||
"tar",
|
||||
"xz",
|
||||
"zstd",
|
||||
"openssl",
|
||||
]
|
||||
optional = [
|
||||
"linux-firmware",
|
||||
"linux-headers",
|
||||
]
|
||||
runtime = [
|
||||
"coreutils",
|
||||
"kmod",
|
||||
"initramfs",
|
||||
]
|
||||
|
||||
[package]
|
||||
description = "The Linux Kernel + Modules"
|
||||
homepage = "https://www.kernel.org"
|
||||
license = "GPL-2.0-Only"
|
||||
name = "linux"
|
||||
version = "6.19.5"
|
||||
revision = 3
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
sha256 = "95ae05c8c709e353c0e8506c072efc5598d85b8b7b564a1ebac7ee8345042ffa"
|
||||
url = "https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-$version.tar.xz"
|
||||
|
||||
[[manual_sources]]
|
||||
files = [ "build.sh", "config.$CARCH" ]
|
||||
Reference in New Issue
Block a user