Skip to contentSkip to conversation

kernel, module-base class, bitbake.conf: introduce MACHINE_KERNEL_PR

PATCH Denys Dmytriyenko 2 participants 2 messages May 20, 2009

lore
Share & tools
lore

Denys Dmytriyenko

author Acked-by
#0 lore raw
Quoted 34 lines

------- Original Message -------
From: Koen Kooi <[email protected]>
To: [email protected]
Sent: 20-May-09, 14:51:23
Subject: [oe] [STABLE][PATCH] kernel, module-base class,bitbake.conf: introduce MACHINE_KERNEL_PR

From: Koen Kooi <[email protected]>

---
 classes/kernel.bbclass      |    4 ++++
 classes/module-base.bbclass |    4 ++++
 conf/bitbake.conf           |    4 ++++
 3 files changed, 12 insertions(+), 0 deletions(-)
classes/kernel.bbclass +4 -0
index 17e8941..954c407 100644
@@ -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
classes/module-base.bbclass +0 -1
index c98bace..bc53e1b 100644
--- a/classes/module-base.bbclass
#1 lore raw
Quoted 42 lines · Denys Dmytriyenko
Quoted 33 lines

------- Original Message -------
From: Koen Kooi <[email protected]>
To: [email protected]
Sent: 20-May-09, 14:51:23
Subject: [oe] [STABLE][PATCH] kernel, module-base class,bitbake.conf: introduce MACHINE_KERNEL_PR

From: Koen Kooi <[email protected]>

---
 classes/kernel.bbclass      |    4 ++++
 classes/module-base.bbclass |    4 ++++
 conf/bitbake.conf           |    4 ++++

 3 files changed, 12 insertions(+), 0 deletions(-)
classes/kernel.bbclass +0 -0
index 17e8941..954c407 100644
@@ -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}')}"

classes/kernel.bbclass +4 -0
+# 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
classes/module-base.bbclass +0 -0
index c98bace..bc53e1b 100644

classes/module-base.bbclass

Quoted 1 line
classes/module-base.bbclass +0 -1
--- a/classes/module-base.bbclass

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Signature · 3 lines
Otavio Salvador                  O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854         http://projetos.ossystems.com.br