summaryrefslogtreecommitdiff
path: root/classes/kernel.bbclass
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-04-06 08:56:14 +0200
committerKoen Kooi <koen@openembedded.org>2009-04-06 08:56:14 +0200
commit389043beaee17cd6bc90e5c8e7140fdab51c9ae8 (patch)
tree54476b6b419a180dd0a7166fdbb9117b874b679d /classes/kernel.bbclass
parent45c1142d3e0fc422277cf4671613aa9b61bf010f (diff)
kernel,module-base class, bitbake.conf: introduce MACHINE_KERNEL_PR
* bandaid till we have a better way to track ABI changes
Diffstat (limited to 'classes/kernel.bbclass')
-rw-r--r--classes/kernel.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass
index 17e8941745..954c407d51 100644
--- a/classes/kernel.bbclass
+++ b/classes/kernel.bbclass
@@ -64,6 +64,10 @@ export CMDLINE_CONSOLE = "console=${@bb.data.getVar("KERNEL_CONSOLE",d,1) or "tt
KERNEL_VERSION = "${@get_kernelversion('${S}')}"
KERNEL_MAJOR_VERSION = "${@get_kernelmajorversion('${KERNEL_VERSION}')}"
+# A machine.conf or local.conf can increase MACHINE_KERNEL_PR to force
+# rebuilds for kernel and external modules
+PR = "${MACHINE_KERNEL_PR}"
+
KERNEL_LOCALVERSION ?= ""
# kernels are generally machine specific