bitbake.conf: make MACHINE_KERNEL_PR defaults to PR
authorMarcin Juszkiewicz <marcin@buglabs.net>
Wed, 29 Apr 2009 11:01:13 +0000 (13:01 +0200)
committerMarcin Juszkiewicz <marcin@buglabs.net>
Wed, 29 Apr 2009 11:01:18 +0000 (13:01 +0200)
By default MACHINE_KERNEL_PR defaults to 'r0' which makes build of
kernel for machines which not use MACHINE_KERNEL_PR harder
(kernel.bbclass uses M_K_P instead of PR).

conf/bitbake.conf

index 9e026e4..fd84ea2 100644 (file)
@@ -164,7 +164,7 @@ P = "${PN}-${PV}"
 
 # Define a PR for kernels that machines can override so things like
 # modules get rebuilt
-MACHINE_KERNEL_PR ?= "r0"
+MACHINE_KERNEL_PR ?= "${PR}"
 
 # Base package name
 # Automatically derives "foo" from "foo-native", "foo-cross" or "foo-initial"