Skip to contentSkip to conversation

bitbake.conf: make MACHINE_KERNEL_PR defaults to PR

PATCH New Marcin Juszkiewicz 1 participant 1 message Apr 29, 2009

lore
Share & tools
lore
#0 lore raw

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

From: Marcin Juszkiewicz <[email protected]>

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 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
conf/bitbake.conf +1 -1
index 9e026e4..fd84ea2 100644
@@ -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"
Signature · 1 line
1.6.3.rc0