[oe-commits] Koen Kooi : kernel bbclass: read version from ${B}, remove obsolete hostap logic that breaks the build (from poky)

git version control git at git.openembedded.org
Thu Apr 15 09:51:52 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 636141f6fafc4b5f8dde68036d367d77219fa25c
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=636141f6fafc4b5f8dde68036d367d77219fa25c

Author: Koen Kooi <koen at openembedded.org>
Date:   Thu Apr 15 11:50:40 2010 +0200

kernel bbclass: read version from ${B}, remove obsolete hostap logic that breaks the build (from poky)

---

 classes/kernel.bbclass |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass
index 003bda0..7f7062b 100644
--- a/classes/kernel.bbclass
+++ b/classes/kernel.bbclass
@@ -66,7 +66,7 @@ KERNEL_IMAGEDEST = "boot"
 #
 export CMDLINE_CONSOLE = "console=${@bb.data.getVar("KERNEL_CONSOLE",d,1) or "ttyS0"}"
 
-KERNEL_VERSION = "${@get_kernelversion('${S}')}"
+KERNEL_VERSION = "${@get_kernelversion('${B}')}"
 KERNEL_MAJOR_VERSION = "${@get_kernelmajorversion('${KERNEL_VERSION}')}"
 
 KERNEL_LOCALVERSION ?= ""
@@ -244,8 +244,6 @@ FILES_kernel-image = "/boot/${KERNEL_IMAGETYPE}*"
 FILES_kernel-dev = "/boot/System.map* /boot/Module.symvers* /boot/config*"
 FILES_kernel-vmlinux = "/boot/vmlinux*"
 RDEPENDS_kernel = "kernel-base"
-RRECOMMENDS_kernel-module-hostap-cs += '${@base_version_less_or_equal("KERNEL_VERSION", "2.6.17", "", "apm-wifi-suspendfix", d)}'
-RRECOMMENDS_kernel-module-orinoco-cs += '${@base_version_less_or_equal("KERNEL_VERSION", "2.6.17", "", "apm-wifi-suspendfix", d)}'
 # Allow machines to override this dependency if kernel image files are 
 # not wanted in images as standard
 RDEPENDS_kernel-base ?= "kernel-image"





More information about the Openembedded-commits mailing list