[oe] btsco-module naming

Andrew Paulsen andrew.paulsen at gmail.com
Fri Jan 26 18:12:26 UTC 2007


I can build the snd-bt-sco.ko module with
 $ bitbake btsco-module

but if I want ipkg to find it, I have to use
 btsco-module-${KERNEL_VERSION}

Which doesn't play nicely for images like GPE that use the same
variables for RDEPENDS and PACKAGE_INSTALL.  I used the following
patch to get around this, but I'm not sure if this is correct style or
not.

--- packages/btsco/btsco-module.inc~    2007-01-26 11:59:41.000000000 -0600
+++ packages/btsco/btsco-module.inc     2007-01-26 11:37:36.000000000 -0600
@@ -3,6 +3,7 @@
 HOMEPAGE = "http://bluetooth-alsa.sourceforge.net/"
 LICENSE = "GPL"
 DEPENDS = "alsa-lib bluez-libs"
+RPROVIDES = "${PN}-${KERNEL_VERSION}"

 inherit module


Is this an ok thing to do or am I missing something?




More information about the Openembedded-devel mailing list