Skip to content

Archlinux Kernel based on different schedulers and some other performance improvements.

hardened: Remove bpf stuff

Peter Jung12b7834471f4
diff --git a/linux-cachyos-hardened/PKGBUILD b/linux-cachyos-hardened/PKGBUILD
index 816f2c38..2c5b6d25 100644
--- a/linux-cachyos-hardened/PKGBUILD
+++ b/linux-cachyos-hardened/PKGBUILD
@@ -481,9 +481,6 @@ build() {
cd "$_srcname"
make "${BUILD_FLAGS[@]}" -j"$(nproc)" all
- if ! _is_ci_build; then
- make -C tools/bpf/bpftool vmlinux.h feature-clang-bpf-co-re=1
- fi
local MODULE_FLAGS=(
KERNEL_UNAME="${_kernuname}"
@@ -560,10 +557,6 @@ _package-headers() {
install -Dt "$builddir" -m644 .config Makefile Module.symvers System.map \
localversion.* version vmlinux
- if ! _is_ci_build; then
- install -Dt "$builddir" -m644 tools/bpf/bpftool/vmlinux.h
- fi
-
install -Dt "$builddir/kernel" -m644 kernel/Makefile
install -Dt "$builddir/arch/x86" -m644 arch/x86/Makefile
cp -t "$builddir" -a scripts