[oe] [PATCH 1/1] bitbake.conf: make MACHINE_KERNEL_PR defaults to PR

Marcin Juszkiewicz marcin at juszkiewicz.com.pl
Wed Apr 29 11:03:07 UTC 2009


From: Marcin Juszkiewicz <marcin at buglabs.net>

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).

Signed-off-by: Marcin Juszkiewicz <marcin at buglabs.net>
---
 conf/bitbake.conf |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/conf/bitbake.conf b/conf/bitbake.conf
index 9e026e4..fd84ea2 100644
--- a/conf/bitbake.conf
+++ b/conf/bitbake.conf
@@ -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"
-- 
1.6.3.rc0







More information about the Openembedded-devel mailing list