[OE-core] [PATCH] kernel.bbclass: touch .scmversion also in ${S}

Bruce Ashfield bruce.ashfield at windriver.com
Mon Mar 26 18:32:27 UTC 2012


On 12-03-26 01:29 PM, Martin Jansa wrote:
> Signed-off-by: Martin Jansa<Martin.Jansa at gmail.com>
> ---
>   meta/classes/kernel.bbclass |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
> index 6633b85..3519e7c 100644
> --- a/meta/classes/kernel.bbclass
> +++ b/meta/classes/kernel.bbclass
> @@ -207,7 +207,7 @@ kernel_do_configure() {
>   	# $ scripts/setlocalversion . =>  +
>   	# $ make kernelversion =>  2.6.37
>   	# $ make kernelrelease =>  2.6.37+
> -	touch ${B}/.scmversion
> +	touch ${B}/.scmversion ${S}/.scmversion

Acked-by: Bruce Ashfield <bruce.ashfield at windriver.com>

I had the same patch here, and was about to send it. I blame my
slow builder :P

Cheers,

Bruce

>
>   	# Copy defconfig to .config if .config does not exist. This allows
>   	# recipes to manage the .config themselves in do_configure_prepend().





More information about the Openembedded-core mailing list