Add cross-compiler role to x86 slaves
[lttng-ci.git] / scripts / lttng-modules / param-build.sh
index d14f49dc0fe686a5ce4d11bb0f2c50dae14212ee..a905a38cb03ded5cd988639f3b8ca6c9343bcf1b 100644 (file)
@@ -82,7 +82,7 @@ if { vergte "$KVERSION" "3.10" && verlte "$KVERSION" "3.10.13"; } || \
     set +e
 
     # Build modules
-    make -j${NPROC} -C "${LNXBUILDDIR}" M="$(pwd)" V=1 CONFIG_LTTNG=m
+    KERNELDIR="${LNXBUILDDIR}" make -j${NPROC} V=1
 
     # We expect this build to fail, if it doesn't, fail the job.
     if [ "$?" -eq 0 ]; then
@@ -97,10 +97,10 @@ if { vergte "$KVERSION" "3.10" && verlte "$KVERSION" "3.10.13"; } || \
 else # Regular build
 
     # Build modules
-    make -j${NPROC} -C "${LNXBUILDDIR}" M="$(pwd)" V=1 CONFIG_LTTNG=m
+    KERNELDIR="${LNXBUILDDIR}" make -j${NPROC} V=1
 
     # Install modules to build dir
-    make INSTALL_MOD_PATH="${BUILDDIR}" -C "${LNXBUILDDIR}" M="$(pwd)" modules_install
+    KERNELDIR="${LNXBUILDDIR}" make INSTALL_MOD_PATH="${BUILDDIR}" modules_install
 fi
 
 # EOF
This page took 0.022697 seconds and 4 git commands to generate.