From 3dc53f9b4d20a528d229d9f29ed3885fa6561787 Mon Sep 17 00:00:00 2001 From: Adrian Dudau Date: Fri, 10 Jun 2016 12:34:38 +0200 Subject: fsl-kernel-localversion: Configure kernel in a separate task As it is implemented right now this class overwrites the .config file making it impossible for any other layer to configure the kernel in a .bbappend to the kernel recipe. By doing it in a separate task before do_configure we ensure that recipe .bbappends can make further kernel configurations in do_configure_prepend. Signed-off-by: Adrian Dudau Signed-off-by: Otavio Salvador --- classes/fsl-kernel-localversion.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'classes') diff --git a/classes/fsl-kernel-localversion.bbclass b/classes/fsl-kernel-localversion.bbclass index 1004e35..42c2b17 100644 --- a/classes/fsl-kernel-localversion.bbclass +++ b/classes/fsl-kernel-localversion.bbclass @@ -22,7 +22,7 @@ kernel_conf_variable() { fi } -do_configure_prepend() { +do_preconfigure() { echo "" > ${B}/.config CONF_SED_SCRIPT="" @@ -37,3 +37,4 @@ do_configure_prepend() { printf "%s%s" +g $head > ${S}/.scmversion fi } +addtask preconfigure before do_configure after do_patch -- cgit v1.2.3-54-g00ecf