Revert "linux516+: Check for resolve_btfids presence before attempting to install. When users are disabling related debugging, this would prevent headers package to build."

This reverts commit 445a6b781a.
This commit is contained in:
Tk-Glitch
2022-04-12 22:22:22 +02:00
parent 98a96c2139
commit e2572a00ea

View File

@@ -931,7 +931,7 @@ hackheaders() {
mkdir -p "$builddir"/{fs/xfs,mm}
# add resolve_btfids on 5.16+
if [ $_basever -ge 516 ] && [ -e "$builddir"/tools/bpf/resolve_btfids ]; then
if [ $_basever -ge 516 ]; then
install -Dt "$builddir"/tools/bpf/resolve_btfids tools/bpf/resolve_btfids/resolve_btfids
fi