You've already forked T2-Gentoo-Kernel
mirror of
https://github.com/t2linux/T2-Gentoo-Kernel.git
synced 2026-04-30 13:50:03 -07:00
19 lines
418 B
Bash
19 lines
418 B
Bash
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
# This file actually compiles the Linux Kernel
|
|
|
|
source INFO
|
|
|
|
SCRIPT_DIR="$(dirname -- "$(readlink -f -- "${BASH_SOURCE[0]}")")"
|
|
NUM_JOBS=`nproc`
|
|
|
|
echo "==> Using all available cores to compile the Linux Kernel. If you want to use less, then edit this build.sh file."
|
|
|
|
echo "==> Building the Linux Kernel..."
|
|
cd $SCRIPT_DIR/${KERNEL_DIR}
|
|
make all -j${NUM_JOBS}
|
|
|
|
echo "==> Done."
|