Depends-on: take into consideration the git branch for query and default
[lttng-ci.git] / scripts / lttng-modules / param-build.sh
index cb7d2f377e61f3b08fe90752154bf07617328818..902ee72db2871ca22df78256f6d4944f6fe63e01 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
 
@@ -387,7 +390,9 @@ extract_distro_headers() {
     touch -r "${LINUX_HDROBJ_DIR}/.config" "${LINUX_HDROBJ_DIR}/include/generated/autoconf.h"
 
     # Copy .config to include/config/auto.conf so "make prepare" is unnecessary.
-    cp "${LINUX_HDROBJ_DIR}/.config" "${LINUX_HDROBJ_DIR}/include/config/auto.conf"
+    if [ ! -f "${LINUX_HDROBJ_DIR}/include/config/auto.conf" ]; then
+        cp "${LINUX_HDROBJ_DIR}/.config" "${LINUX_HDROBJ_DIR}/include/config/auto.conf"
+    fi
 
     # Finally clean the object files from the full source tree
     make clean
@@ -433,7 +438,7 @@ build_modules() {
 
     # Try to catch some compatibility problems by turning some
     # warnings into errors.
-    export KCFLAGS="$KCFLAGS -Wall -Werror"
+    #export KCFLAGS="$KCFLAGS -Wall -Werror"
 
     # Enter lttng-modules source dir
     cd "${MODULES_GIT_DIR}"
This page took 0.023742 seconds and 4 git commands to generate.