summaryrefslogtreecommitdiff
path: root/libre/linux-libre/PKGBUILD
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2018-08-24 10:54:43 -0300
committerDavid P <megver83@parabola.nu>2018-08-24 10:54:43 -0300
commitc9abed706001bb445c817653e701d2f9c22f25f2 (patch)
treebcd7a84a970be0811218f5242d8e8d9175068439 /libre/linux-libre/PKGBUILD
parentb59852e0945ad2dfbb792bd534e463fb474956f3 (diff)
downloadabslibre-c9abed706001bb445c817653e701d2f9c22f25f2.tar.gz
abslibre-c9abed706001bb445c817653e701d2f9c22f25f2.tar.bz2
abslibre-c9abed706001bb445c817653e701d2f9c22f25f2.zip
linux-libre: add if-fi statement when installing objtool
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'libre/linux-libre/PKGBUILD')
-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 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}