]> code.ossystems Code Review - openembedded-core.git/commitdiff
meta-rt: default KMACHINE and SRCREV_machine to avoid parsing errors
authorDarren Hart <dvhart@linux.intel.com>
Fri, 22 Jul 2011 22:53:18 +0000 (15:53 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 12 Aug 2011 16:16:59 +0000 (17:16 +0100)
Without a default KMACHINE and SRCREV_machine the git URL will fail to
expand to something usable and we get a parsing error. This approach was
also used in the non-rt version of this recipe.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
meta-rt/recipes-kernel/linux/linux-yocto-rt_2.6.34.bb

index d58b86baad1279babcaed8263742633f9dd53bf6..0ca53ae4361a8414eb7f913754ce4ea9d0fbd3d6 100644 (file)
@@ -1,6 +1,7 @@
 inherit kernel
 require recipes-kernel/linux/linux-yocto.inc
 
+KMACHINE = "common-pc"
 KMACHINE_qemux86  = "common_pc"
 KMACHINE_qemux86-64  = "common_pc_64"
 
@@ -13,6 +14,7 @@ KBRANCH = ${KMACHINE}-${LINUX_KERNEL_TYPE}
 
 SRCREV_machine_qemux86 = "439602eb6acd53d9beb8493710310214fc7bd749"
 SRCREV_machine_qemux86-64 = "3c84c45ad3c3592f9c7ff4076de9bee417cd322e"
+SRCREV_machine = "439602eb6acd53d9beb8493710310214fc7bd749"
 SRCREV_meta = "e1f85a470934a0cf6abde5d95533e74501822c6b"
 
 PR = "r2"