jjb: lttng-modules: fix for v4.4 to v4.4.256
[lttng-ci.git] / scripts / lttng-modules / param-build.sh
index 69a3338b74cb0ff7708ab285316a4d50cec06eb3..1d63084c253cd0f98e4ade624046ca5da8ec476e 100644 (file)
@@ -445,6 +445,13 @@ EOF
             sed -i '/^.* += elfcore.o$/d' kernel/Makefile
         fi
     fi
+    # Same as above for the v4.4 branch
+    if ( { vergte "${kversion}" "4.4"; } && { verlt "${kversion}" "4.4.257"; } ); then
+        patch_linux_kernel 3140b0740b31cc63cf2ee08bc3f746b423eb068d
+        if grep -q elfcore.o kernel/Makefile ; then
+            sed -i '/^.* += elfcore.o$/d' kernel/Makefile
+        fi
+    fi
 
     # Newer binutils don't accept 3 operand 'cmp' instructions on ppc64
     # Convert them to 'cmpw' which was previously done silently
This page took 0.02296 seconds and 4 git commands to generate.