summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/kernel.bbclass6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 5e4cdd458c..736768eedd 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -204,6 +204,12 @@ sysroot_stage_all_append() {
204} 204}
205 205
206kernel_do_configure() { 206kernel_do_configure() {
207 # fixes extra + in /lib/modules/2.6.37+
208 # $ scripts/setlocalversion . => +
209 # $ make kernelversion => 2.6.37
210 # $ make kernelrelease => 2.6.37+
211 touch ${B}/.scmversion
212
207 # Copy defconfig to .config if .config does not exist. This allows 213 # Copy defconfig to .config if .config does not exist. This allows
208 # recipes to manage the .config themselves in do_configure_prepend(). 214 # recipes to manage the .config themselves in do_configure_prepend().
209 if [ -f "${WORKDIR}/defconfig" ] && [ ! -f "${B}/.config" ]; then 215 if [ -f "${WORKDIR}/defconfig" ] && [ ! -f "${B}/.config" ]; then