This commit is contained in:
tuna2134
2026-06-30 00:43:24 +09:00
parent 30ff504ac4
commit 572cf43329
4 changed files with 1318 additions and 1 deletions

13
build Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/sh
set -eu
KVER="$(uname -r)"
KDIR="/lib/modules/$KVER/build"
if [ ! -d "$KDIR" ]; then
echo "error: kernel headers for running kernel $KVER were not found at $KDIR" >&2
echo "install matching Arch headers or reboot into the kernel that matches installed headers" >&2
exit 1
fi
make KDIR="$KDIR"