chore: sync AUR packages (edge)
This commit is contained in:
1 parent
77d9947f2f
commit
dc752f0ac6
16 files changed
+100
-65
No files matched your search
@@ -0,0 +1,35 @@
|
||||
From 1ab454e3114dbe6bc61e35be9b6cbcbfe119bfaf Mon Sep 17 00:00:00 2001
|
||||
From: Peter Jung <admin@ptr1337.dev>
|
||||
Date: Thu, 26 Feb 2026 16:53:26 +0100
|
||||
Subject: [PATCH] kernel-open/Makefile: Fix PAHOLE_VARIABLES for kernels using
|
||||
gen-btf.sh, fix for 7.0rc1
|
||||
|
||||
Signed-off-by: Peter Jung <admin@ptr1337.dev>
|
||||
---
|
||||
kernel-open/Makefile | 13 +++++++++----
|
||||
1 file changed, 9 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a//Makefile b/Makefile
|
||||
index f7a8db69f..9a3fc281e 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -92,10 +92,15 @@ else
|
||||
# system(pahole_cmd)
|
||||
# }
|
||||
PAHOLE_AWK_PROGRAM = BEGIN { pahole_cmd = \"pahole\"; for (i = 1; i < ARGC; i++) { if (ARGV[i] ~ /--lang_exclude=/) { pahole_cmd = pahole_cmd sprintf(\" %s,c++\", ARGV[i]); } else { pahole_cmd = pahole_cmd sprintf(\" %s\", ARGV[i]); } } system(pahole_cmd); }
|
||||
- # If scripts/pahole-flags.sh is not present in the kernel tree, add PAHOLE and
|
||||
- # PAHOLE_AWK_PROGRAM assignments to PAHOLE_VARIABLES; otherwise assign the
|
||||
- # empty string to PAHOLE_VARIABLES.
|
||||
- PAHOLE_VARIABLES=$(if $(wildcard $(KERNEL_SOURCES)/scripts/pahole-flags.sh),,"PAHOLE=$(AWK) '$(PAHOLE_AWK_PROGRAM)'")
|
||||
+ # If scripts/pahole-flags.sh is not present AND scripts/gen-btf.sh is not
|
||||
+ # present in the kernel tree, add PAHOLE and PAHOLE_AWK_PROGRAM assignments
|
||||
+ # to PAHOLE_VARIABLES; otherwise assign the empty string to PAHOLE_VARIABLES.
|
||||
+ #
|
||||
+ # scripts/gen-btf.sh was introduced in kernel 7.0 (formerly 6.17) when
|
||||
+ # scripts/pahole-flags.sh was removed. The gen-btf.sh-based BTF generation
|
||||
+ # calls ${PAHOLE} inside a shell script, so the awk wrapper used here is
|
||||
+ # incompatible (shell word-splitting breaks the single-quoted awk program).
|
||||
+ PAHOLE_VARIABLES=$(if $(or $(wildcard $(KERNEL_SOURCES)/scripts/pahole-flags.sh),$(wildcard $(KERNEL_SOURCES)/scripts/gen-btf.sh)),,"PAHOLE=$(AWK) '$(PAHOLE_AWK_PROGRAM)'")
|
||||
|
||||
ifndef ARCH
|
||||
ARCH := $(shell uname -m | sed -e 's/i.86/i386/' \
|
||||
Reference in new issue
Block a user