trace-kernel-build: Fix failing build
The build is being marked as failing, but nothing has gone wrong.
Change-Id: Ibbce17242a321721505f782d164476f41bb72c4a
Signed-off-by: Joel Stanley <joel@jms.id.au>
diff --git a/trace-kernel-build.sh b/trace-kernel-build.sh
index 02dafc0..2f5d95f 100755
--- a/trace-kernel-build.sh
+++ b/trace-kernel-build.sh
@@ -90,8 +90,11 @@
arch/powerpc/configs/le.config \
fragment.config
+# Ensure config is up to date and no questions will be asked
+yes "" | ARCH=powerpc CROSS_COMPILE=powerpc64le-linux-gnu- make oldconfig
+
# Build kernel
-yes "" | ARCH=powerpc CROSS_COMPILE=powerpc64le-linux-gnu- make -j$(nproc) vmlinux
+ARCH=powerpc CROSS_COMPILE=powerpc64le-linux-gnu- make -j$(nproc) vmlinux
EOF_SCRIPT