summaryrefslogtreecommitdiff
path: root/packages/btsco/btsco-module_0.41.bb
blob: 4122bf86c4718120ecb60a1034a5884edbc6ccb9 (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 = "r1"

inherit module

SRC_URI = "${SOURCEFORGE_MIRROR}/bluetooth-alsa/btsco-0.41.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/
}