summaryrefslogtreecommitdiff
path: root/packages/btsco/btsco-module_0.42.bb
blob: 68c13a33d0d479c248f6ada93707a23cfd906bfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
DESCRIPTION = "Bluetooth-alsa headset module"
SECTION = "kernel/modules"
HOMEPAGE = "http://bluetooth-alsa.sourceforge.net/"
LICENSE = "GPL"
DEPENDS = "alsa-lib bluez-libs"
PR = "r0"

inherit module

SRC_URI = "${SOURCEFORGE_MIRROR}/bluetooth-alsa/btsco-${PV}.tar.gz \
	   file://makefile.patch;patch=1"

S = "${WORKDIR}/btsco-${PV}/kernel"

MAKE_TARGETS = "KERNEL_PATH=${STAGING_KERNEL_DIR} MAKE='make -e'"

do_install() {
	install -m 0755 -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/extra
	install -m 0644 ${S}/snd-bt-sco${KERNEL_OBJECT_SUFFIX} ${D}${base_libdir}/modules/${KERNEL_VERSION}/extra/
}