aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-bsp/wcnss-config/wcnss-config_1.11.1.bb
blob: 4720f722882f1b315e1fc2c9ef7b167dd03f835a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
SUMMARY = "WLAN and BT configuration files for QCOM WCN"
HOMEPAGE = "https://git.linaro.org/landing-teams/working/qualcomm/wcnss-config.git"
SECTION = "devel"

LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://debian/copyright;md5=9ffc7d99f148b53a339cd4374c5c431f"

SRCREV = "debian/${PV}"
SRC_URI = "git://git.linaro.org/landing-teams/working/qualcomm/wcnss-config.git;branch=master;protocol=https"

S = "${WORKDIR}/git"

inherit systemd allarch

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 -d ${D}${sbindir}
    install -m 0755 ${S}/wcnss-gen-macaddr ${D}${sbindir}
}

SYSTEMD_SERVICE_${PN} = "wcnss-wlan.service"