diff options
Diffstat (limited to 'recipes-kernel/rs9113/rs9113.inc')
-rw-r--r-- | recipes-kernel/rs9113/rs9113.inc | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/recipes-kernel/rs9113/rs9113.inc b/recipes-kernel/rs9113/rs9113.inc index 26eeb84..a22dcdf 100644 --- a/recipes-kernel/rs9113/rs9113.inc +++ b/recipes-kernel/rs9113/rs9113.inc @@ -8,7 +8,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" # noarch contains the init script and configuration for the driver and # the firmware file (firmware/*.rps). -PACKAGES = "${PN}-utils-extra ${PN}-misc kernel-module-${PN} ${PN}-util ${PN}-dbg ${PN}-noarch ${PN}-autostart" +PACKAGES = "${PN}-utils-extra ${PN}-misc kernel-module-${PN} ${PN}-util ${PN}-dbg ${PN}-noarch ${PN}-autostart ${PN}-btclonly" ALLOW_EMPTY_${PN}-autostart = "1" PACKAGE_ARCH_${PN}-noarch = "all" PACKAGE_ARCH_${PN}-misc = "all" @@ -16,9 +16,12 @@ PACKAGE_ARCH_${PN}-autostart = "all" PACKAGE_ARCH_${PN}-util = "${TUNE_PKGARCH}" PACKAGE_ARCH_${PN}-utils-extra = "${TUNE_PKGARCH}" PACKAGE_ARCH_${PN}-dbg = "${TUNE_PKGARCH}" +PACKAGE_ARCH_${PN}-btclonly = "all" RDEPENDS_${PN}-noarch = "bash" RDEPENDS_${PN}-misc = "bash" +ALLOW_EMPTY_${PN}-btclonly = "1" + DR = "${DL_DIR}/rs9113-ipk" FILESEXTRAPATHS_append := "${DR}:" @@ -164,3 +167,9 @@ python do_cleanall_prepend () { bb.note("About to delete " + DR) os.system("/bin/rm -rf " + DR) } + +# btclonly package sets Bluetooth Classic mode +pkg_postinst_${PN}-btclonly() { + sed -i 's/^COEX_MODE=.*/COEX_MODE=4/' $D${sysconfdir}/default/rs9113 +} + |