From c9abed706001bb445c817653e701d2f9c22f25f2 Mon Sep 17 00:00:00 2001 From: David P Date: Fri, 24 Aug 2018 10:54:43 -0300 Subject: linux-libre: add if-fi statement when installing objtool 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 99d0f3b63..2d53594b9 100644 --- a/libre/linux-libre/PKGBUILD +++ b/libre/linux-libre/PKGBUILD @@ -273,7 +273,9 @@ _package-headers() { cp -t "$builddir" -a scripts # add objtool for external module building and enabled VALIDATION_STACK option - install -Dt "$builddir/tools/objtool" tools/objtool/objtool + if [[ -e tools/objtool/objtool ]]; then + install -Dt "$builddir/tools/objtool" tools/objtool/objtool + fi # add xfs and shmem for aufs building mkdir -p "$builddir"/{fs/xfs,mm} -- cgit v1.2.3