jjb: lttng-modules: fix for v4.4 to v4.4.256
authorMichael Jeanson <mjeanson@efficios.com>
Tue, 29 Aug 2023 14:18:47 +0000 (10:18 -0400)
committerMichael Jeanson <mjeanson@efficios.com>
Tue, 29 Aug 2023 14:33:26 +0000 (10:33 -0400)
Change-Id: I2fbcf8655a5f9c970e8ca813c5e3b483d0700854
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
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.023706 seconds and 4 git commands to generate.