[oe] [PATCH] kernel.bbclass: provide virtual/kernel-${PV}
Koen Kooi
k.kooi at student.utwente.nl
Fri Feb 11 13:18:21 UTC 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 11-02-11 14:02, Andreas Oberritter wrote:
> * Allow precompiled modules to depend on a specific kernel version.
>
> Signed-off-by: Andreas Oberritter <obi at opendreambox.org>
> ---
> classes/kernel.bbclass | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass
> index 0d1b4ad..55e3ca0 100644
> --- a/classes/kernel.bbclass
> +++ b/classes/kernel.bbclass
> @@ -1,6 +1,6 @@
> inherit linux-kernel-base module_strip
>
> -PROVIDES += "virtual/kernel"
> +PROVIDES += "virtual/kernel virtual/kernel-${PV}"
> DEPENDS += "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}depmod-${@get_kernelmajorversion('${PV}')} virtual/${TARGET_PREFIX}gcc${KERNEL_CCSUFFIX} update-modules bluez-dtl1-workaround"
>
> # we include gcc above, we dont need virtual/libc
How is PV know before the kernel is built? The line below has a
workaround for that, so I guess it also needs one in PROVIDES, no?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFNVTcdMkyGM64RGpERAqZtAJ9gV1L+A2Ph+3aH1/aKr9PGlUeQCwCcCUUE
TlXU4/M8l7ycdmwm+7a8VL0=
=JO+0
-----END PGP SIGNATURE-----
More information about the Openembedded-devel
mailing list