From 24a2a84e6e316110d2f6c6f57a89b75b7e32b720 Mon Sep 17 00:00:00 2001 From: David P Date: Thu, 19 May 2022 00:45:18 -0400 Subject: linux-libre: DEBUG_INFO_BTF_MODULES is not enabled for all arch'es Signed-off-by: David P --- libre/linux-libre/PKGBUILD | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libre/linux-libre/PKGBUILD') 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 -- cgit v1.2.3