]> code.ossystems Code Review - openembedded-core.git/commitdiff
kernel.bbclass: touch .scmversion also in ${S}
authorMartin Jansa <martin.jansa@gmail.com>
Mon, 26 Mar 2012 17:29:48 +0000 (19:29 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 26 Mar 2012 22:08:07 +0000 (23:08 +0100)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel.bbclass

index 6633b8552da139842ccedb34a212dc83ff722c77..3519e7c29610076b3580dd679f59797f78801b7a 100644 (file)
@@ -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
 
        # Copy defconfig to .config if .config does not exist. This allows
        # recipes to manage the .config themselves in do_configure_prepend().