linux516-tkg: Add resolve_btfids to fix module compilation on 5.16 rc3

This commit is contained in:
Tk-Glitch
2021-11-30 14:26:37 +01:00
parent 47a49347e3
commit 01aa246e49

View File

@@ -855,6 +855,15 @@ hackheaders() {
# add xfs and shmem for aufs building
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..."
cp -t "$builddir" -a include
cp -t "$builddir/arch/x86" -a arch/x86/include