[meta-oe,3/4] kernel.bbclass: touch .scmversion also in ${S}

Submitted by Martin Jansa on March 28, 2012, 11:25 a.m.

Details

Message ID 55be19aaadb781f4acf8682b31dc2bb824331229.1332933826.git.Martin.Jansa@gmail.com
State Accepted
Commit 2bbed5ec032ec90957028b2b1b5c8c7871eb1bc3
Headers show

Commit Message

Martin Jansa March 28, 2012, 11:25 a.m.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-oe/classes/kernel.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch hide | download patch | download mbox

diff --git a/meta-oe/classes/kernel.bbclass b/meta-oe/classes/kernel.bbclass
index 9ce2f44..578a02f 100644
--- a/meta-oe/classes/kernel.bbclass
+++ b/meta-oe/classes/kernel.bbclass
@@ -212,7 +212,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().