From 1003615b866bfe196994bdc25d305ff5eace2715 Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Wed, 1 Feb 2017 10:30:35 -0500 Subject: kernel-yocto: log the BSP definition file When debugging a kernel configuration issue, one of the first questions is "what BSP was used". To answer this qusetion, we log the BSP .scc file that was used to generate the kernel configuration in the kernel source meta directory. Signed-off-by: Bruce Ashfield Signed-off-by: Ross Burton --- meta/classes/kernel-yocto.bbclass | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/classes/kernel-yocto.bbclass') diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass index 36f61c5694..a7b6356381 100644 --- a/meta/classes/kernel-yocto.bbclass +++ b/meta/classes/kernel-yocto.bbclass @@ -148,6 +148,7 @@ do_kernel_metadata() { # run1: pull all the configuration fragments, no matter where they come from elements="`echo -n ${bsp_definition} ${sccs} ${patches} ${KERNEL_FEATURES}`" if [ -n "${elements}" ]; then + echo "${bsp_definition}}" > ${S}/${meta_dir}/bsp_definition scc --force -o ${S}/${meta_dir}:cfg,merge,meta ${includes} ${bsp_definition} ${sccs} ${patches} ${KERNEL_FEATURES} if [ $? -ne 0 ]; then bbfatal_log "Could not generate configuration queue for ${KMACHINE}." -- cgit 1.2.3-korg