From: Koen Kooi Date: Thu, 15 Apr 2010 09:50:40 +0000 (+0200) Subject: kernel bbclass: read version from ${B}, remove obsolete hostap logic that breaks... X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=636141f6fafc4b5f8dde68036d367d77219fa25c;p=openembedded.git kernel bbclass: read version from ${B}, remove obsolete hostap logic that breaks the build (from poky) --- diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass index 003bda04b7..7f7062b5a0 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"