X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=scripts%2Flttng-modules%2Fbuild.sh;h=b52aead53a04d82fb6cc61247bedcf76557058dd;hb=c72041ebe744c7c3fd8411fafd93abe46292bff4;hp=ad4189030ddf7e6a4d643f19f70f2034d40db0d6;hpb=2c1d386a795ee93d8d8af91559e8b23ea036d82a;p=lttng-ci.git diff --git a/scripts/lttng-modules/build.sh b/scripts/lttng-modules/build.sh index ad41890..b52aead 100755 --- a/scripts/lttng-modules/build.sh +++ b/scripts/lttng-modules/build.sh @@ -1,4 +1,4 @@ -#!/bin/sh -exu +#!/bin/sh # # Copyright (C) 2015 - Jonathan Rajotte-Julien # Michael Jeanson @@ -16,6 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . +set -exu + # Kernel version compare functions verlte() { [ "$1" = "`printf '%s\n%s' $1 $2 | sort -V | head -n1`" ] @@ -37,9 +39,9 @@ vergt() { # Use all CPU cores NPROC=$(nproc) -SRCDIR="${WORKSPACE}/lttng-modules" +SRCDIR="${WORKSPACE}/src/lttng-modules" BUILDDIR="${WORKSPACE}/build" -LNXSRCDIR="${WORKSPACE}/linux" +LNXSRCDIR="${WORKSPACE}/src/linux" LNXBINDIR="${WORKSPACE}/deps/linux/build" # Create build directory