From d815b018e8586f3d1fa2dec81bb57faf0590ed59 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Mon, 1 May 2017 15:19:57 -0400 Subject: [PATCH] jjb: lttng-modules fix ppc build failure on ubuntu Signed-off-by: Michael Jeanson --- scripts/lttng-modules/param-build.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/lttng-modules/param-build.sh b/scripts/lttng-modules/param-build.sh index 6220bf5..6af2d57 100644 --- a/scripts/lttng-modules/param-build.sh +++ b/scripts/lttng-modules/param-build.sh @@ -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 } -- 2.34.1