diff options
Diffstat (limited to 'meta-oe/classes')
| -rw-r--r-- | meta-oe/classes/kernel.bbclass | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-oe/classes/kernel.bbclass b/meta-oe/classes/kernel.bbclass index 02d0ca547b..d87b177c77 100644 --- a/meta-oe/classes/kernel.bbclass +++ b/meta-oe/classes/kernel.bbclass | |||
| @@ -209,6 +209,12 @@ sysroot_stage_all_append() { | |||
| 209 | } | 209 | } |
| 210 | 210 | ||
| 211 | kernel_do_configure() { | 211 | kernel_do_configure() { |
| 212 | # fixes extra + in /lib/modules/2.6.37+ | ||
| 213 | # $ scripts/setlocalversion . => + | ||
| 214 | # $ make kernelversion => 2.6.37 | ||
| 215 | # $ make kernelrelease => 2.6.37+ | ||
| 216 | touch ${B}/.scmversion | ||
| 217 | |||
| 212 | # Copy defconfig to .config if .config does not exist. This allows | 218 | # Copy defconfig to .config if .config does not exist. This allows |
| 213 | # recipes to manage the .config themselves in do_configure_prepend(). | 219 | # recipes to manage the .config themselves in do_configure_prepend(). |
| 214 | if [ -f "${WORKDIR}/defconfig" ] && [ ! -f "${B}/.config" ]; then | 220 | if [ -f "${WORKDIR}/defconfig" ] && [ ! -f "${B}/.config" ]; then |
