summaryrefslogtreecommitdiff
path: root/conf/bitbake.conf
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin@juszkiewicz.com.pl>2009-06-03 01:25:43 +0000
committerMarcin Juszkiewicz <marcin@juszkiewicz.com.pl>2009-06-17 14:08:17 +0200
commit35e7b34d3b5b96ed11bc7ed6b2a5d08e6183d8a3 (patch)
tree91270b7bc5bd815e52aaf14eb083aa5c7e422e26 /conf/bitbake.conf
parent1f591a5ffd69f6c99f294c217bec8ad12b137ab9 (diff)
fix for MACHINE_KERNEL_PR stuff
This patch unbreaks current behaviour which was introduced by MACHINE_KERNEL_PR variable. As most of target machines do not use it they have PR with broken value (set to "r0" instead of value in recipe). I took other way which makes both types of users happy -- those with MACHINE_KERNEL_PR in use and those without it. By default we set M_K_PR to empty string instead of "r0" - this allows to check is it set at all or not. If it is set then we set PR to this value. Otherwise we ignore existance of that variable and use PR from recipe. Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
Diffstat (limited to 'conf/bitbake.conf')
-rw-r--r--conf/bitbake.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/bitbake.conf b/conf/bitbake.conf
index 077e8e1e9a..4f00be73e6 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 = ""
# Base package name
# Automatically derives "foo" from "foo-native", "foo-cross" or "foo-initial"