aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-bsp
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2016-06-24 11:57:05 +0100
committerNicolas Dechesne <nicolas.dechesne@linaro.org>2016-06-24 12:00:58 +0100
commit46f4a3dceb4b29ef7456c9b6f4ae5335c8abcd0c (patch)
tree209508fe1444a4f6157ae3a8fd2b9fbbc0629aac /recipes-bsp
parent27887dbb3cac033b10fa320f0bd7f909342c6b06 (diff)
downloadmeta-qcom-46f4a3dceb4b29ef7456c9b6f4ae5335c8abcd0c.tar.gz
meta-qcom-46f4a3dceb4b29ef7456c9b6f4ae5335c8abcd0c.tar.bz2
meta-qcom-46f4a3dceb4b29ef7456c9b6f4ae5335c8abcd0c.zip
wcnss-config: upgrade to 1.11.2, add wcnss-start
* wncss-start is the new method to startup WCN core on QCOM SoC with integrated WCN. * wcnss-config should be disabled at boot, since it's triggerd by udev Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Diffstat (limited to 'recipes-bsp')
-rw-r--r--recipes-bsp/wcnss-config/wcnss-config_1.11.2.bb (renamed from recipes-bsp/wcnss-config/wcnss-config_1.11.1.bb)12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes-bsp/wcnss-config/wcnss-config_1.11.1.bb b/recipes-bsp/wcnss-config/wcnss-config_1.11.2.bb
index 4720f72..65daa75 100644
--- a/recipes-bsp/wcnss-config/wcnss-config_1.11.1.bb
+++ b/recipes-bsp/wcnss-config/wcnss-config_1.11.2.bb
@@ -12,15 +12,27 @@ S = "${WORKDIR}/git"
inherit systemd allarch
+PACKAGES =+ "wcnss-start"
+
do_install () {
install -d ${D}${sysconfdir}/udev/rules.d
install -m 0755 ${S}/debian/wcnss-wlan.udev ${D}${sysconfdir}/udev/rules.d/wcnss-wlan.rules
install -d ${D}${systemd_unitdir}/system
install -m 0644 ${S}/debian/wcnss-wlan.service ${D}${systemd_unitdir}/system
+ install -m 0644 ${S}/debian/wcnss-start.service ${D}${systemd_unitdir}/system
install -d ${D}${sbindir}
install -m 0755 ${S}/wcnss-gen-macaddr ${D}${sbindir}
+ install -m 0755 ${S}/wcnss-start ${D}${sbindir}
}
+FILES_wcnss-start = "${sbindir}/wcnss-start ${systemd_unitdir}/system/wcnss-start.service"
+
+# need wcnss-gen-macaddr
+RDEPENDS_wcnss-start += "${PN}"
+
+SYSTEMD_PACKAGES = "${PN} wcnss-start"
SYSTEMD_SERVICE_${PN} = "wcnss-wlan.service"
+SYSTEMD_AUTO_ENABLE_${PN} = "disable"
+SYSTEMD_SERVICE_wcnss-start = "wcnss-start.service"