linux516-tkg: Add resolve_btfids to fix module compilation on 5.16 rc3
This commit is contained in:
9
PKGBUILD
9
PKGBUILD
@@ -855,6 +855,15 @@ hackheaders() {
|
|||||||
# add xfs and shmem for aufs building
|
# add xfs and shmem for aufs building
|
||||||
mkdir -p "$builddir"/{fs/xfs,mm}
|
mkdir -p "$builddir"/{fs/xfs,mm}
|
||||||
|
|
||||||
|
# add resolve_btfids on 5.16
|
||||||
|
case $_basever in
|
||||||
|
516)
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
install -Dt "$builddir/tools/bpf/resolve_btfids" tools/bpf/resolve_btfids/resolve_btfids
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
msg2 "Installing headers..."
|
msg2 "Installing headers..."
|
||||||
cp -t "$builddir" -a include
|
cp -t "$builddir" -a include
|
||||||
cp -t "$builddir/arch/x86" -a arch/x86/include
|
cp -t "$builddir/arch/x86" -a arch/x86/include
|
||||||
|
Reference in New Issue
Block a user