From 3cdbc49cbb0875fe7d2f0813e5304b6c581010b2 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 10 Feb 2015 14:59:23 +0100 Subject: [PATCH] linux-sysmocom: Add some crazy checks to debug a race Somehow the do_shared_workdir tries to access a file that should be created by do_configure but isn't present then. Add these items to see what happens during the build. --- recipes-bsp/linux/linux-sysmocom_git.bb | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/recipes-bsp/linux/linux-sysmocom_git.bb b/recipes-bsp/linux/linux-sysmocom_git.bb index 7649db1..9e633ce 100644 --- a/recipes-bsp/linux/linux-sysmocom_git.bb +++ b/recipes-bsp/linux/linux-sysmocom_git.bb @@ -37,6 +37,28 @@ require linux-tools.inc do_configure() { install -m 0644 ${WORKDIR}/defconfig ${B}/.config oe_runmake -C ${S} O=${B} oldconfig + ls -la ${B}/include/config/kernel.release || true + stat ${B}/include/config/kernel.release || true +} + +do_compile_prepend() { + ls -la ${B}/include/config/kernel.release || true + stat ${B}/include/config/kernel.release || true +} + +do_compile_append() { + ls -la ${B}/include/config/kernel.release || true + stat ${B}/include/config/kernel.release || true +} + +do_compile_kernelmodules_prepend() { + ls -la ${B}/include/config/kernel.release || true + stat ${B}/include/config/kernel.release || true +} + +do_compile_kernelmodules_append() { + ls -la ${B}/include/config/kernel.release || true + stat ${B}/include/config/kernel.release || true } # autoload defaults (alphabetically sorted)