Skip to contentSkip to conversation

btsco-module naming

PATCH Andrew Paulsen 1 participant 1 message Jan 26, 2007

lore
Share & tools
lore
#0 lore raw

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.

btsco/btsco-module.inc 2007-01-26 11:37:36.000000000 -0600 renamed from btsco/btsco-module.inc~ 2007-01-26 11:59:41.000000000 -0600 +0 -0
@@ -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?