jjb: lttng-modules fix ppc build failure on ubuntu
authorMichael Jeanson <mjeanson@efficios.com>
Mon, 1 May 2017 19:19:57 +0000 (15:19 -0400)
committerMichael Jeanson <mjeanson@efficios.com>
Mon, 1 May 2017 19:19:57 +0000 (15:19 -0400)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
scripts/lttng-modules/param-build.sh

index 6220bf558249ac17c50439e1c5fe0a4b321115aa..6af2d57a031243ee441ca52ae0aad9bc30879fe7 100644 (file)
@@ -83,6 +83,11 @@ prepare_lnx_sources() {
     # Debug
     #cat "${outdir}"/.config
 
+    # On powerpc this object is required to link modules
+    if [ "${karch}" = "powerpc" ]; then
+        make arch/powerpc/lib/crtsavres.o CC="$CC" ${koutput}
+    fi
+
     # Version specific tasks
     case "$kversion" in
       Ubuntu*)
@@ -91,11 +96,6 @@ prepare_lnx_sources() {
         echo "#define UTS_UBUNTU_RELEASE_ABI $ABINUM" >> "${outdir}"/include/generated/utsrelease.h
         ;;
     esac
-
-    # On powerpc this object is required to link modules
-    if [ "${karch}" = "powerpc" ]; then
-        make arch/powerpc/lib/crtsavres.o CC="$CC" ${koutput}
-    fi
 }
 
 
This page took 0.023559 seconds and 4 git commands to generate.