jjb: lttng-modules: disable objtool on kernel builds
authorMichael Jeanson <mjeanson@efficios.com>
Wed, 15 Dec 2021 15:33:01 +0000 (10:33 -0500)
committerMichael Jeanson <mjeanson@efficios.com>
Wed, 15 Dec 2021 15:33:01 +0000 (10:33 -0500)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Change-Id: I21b9823fd4f53eca1dad54cc0a0939c898ad0001

scripts/lttng-modules/param-build.sh

index 66a443664efa8b2fffd6eb4c43e2c38bc700c5ff..3a71365789ae5665dbbce0edbb6ff8e96ed9dfb1 100644 (file)
@@ -280,6 +280,9 @@ build_linux_kernel() {
     scripts/config --enable CONFIG_EVENT_TRACING
     scripts/config --enable CONFIG_KRETPROBES
 
+    # FIXME: disable objtool on vmlinux, it OOMs on allyesconfig
+    sed -i 's/objtool_link vmlinux.o//' scripts/link-vmlinux.sh || true
+
     # Debug
     #cat .config
 
This page took 0.02326 seconds and 4 git commands to generate.