summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2022-05-19 00:45:18 -0400
committerDavid P <megver83@parabola.nu>2022-05-19 00:45:18 -0400
commit24a2a84e6e316110d2f6c6f57a89b75b7e32b720 (patch)
tree7b27bc4b3336d1694e31186c8865e7e749bbc788
parent281a091e38ba001e6167c5cd2f8f38ccfe507055 (diff)
downloadabslibre-24a2a84e6e316110d2f6c6f57a89b75b7e32b720.tar.gz
abslibre-24a2a84e6e316110d2f6c6f57a89b75b7e32b720.tar.bz2
abslibre-24a2a84e6e316110d2f6c6f57a89b75b7e32b720.zip
linux-libre: DEBUG_INFO_BTF_MODULES is not enabled for all arch'es
Signed-off-by: David P <megver83@parabola.nu>
-rw-r--r--libre/linux-libre/PKGBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/libre/linux-libre/PKGBUILD b/libre/linux-libre/PKGBUILD
index e114173fa..5f3fcc654 100644
--- a/libre/linux-libre/PKGBUILD
+++ b/libre/linux-libre/PKGBUILD
@@ -257,7 +257,9 @@ _package-headers() {
fi
# required when DEBUG_INFO_BTF_MODULES is enabled
- install -Dt "$builddir/tools/bpf/resolve_btfids" tools/bpf/resolve_btfids/resolve_btfids
+ if [[ -e tools/bpf/resolve_btfids/resolve_btfids ]]; then
+ install -Dt "$builddir/tools/bpf/resolve_btfids" tools/bpf/resolve_btfids/resolve_btfids
+ fi
echo "Installing headers..."
cp -t "$builddir" -a include