blob: 5d1ce0a5d8111584fc34f3de096f38d0e6beca2f [file] [log] [blame]
developer15a43312022-04-12 11:23:23 +08001SRC_URI += "${CMF_GIT_ROOT}/rdk/devices/raspberrypi/webpa-client;protocol=${CMF_GIT_PROTOCOL};branch=${CMF_GIT_BRANCH};destsuffix=git/devices;name=rdkbturris"
2
3SRCREV_rdkbturris = "${AUTOREV}"
4do_fetch[vardeps] += "SRCREV_rdkbturris"
5SRCREV_FORMAT .= "_rdkbturris"
6
7inherit systemd
8
9EXTRA_OECMAKE += "-DBUILD_RASPBERRYPI=ON "
10
11do_install_append_broadband () {
12 install -d ${D}${systemd_unitdir}/system
13 install -d ${D}${base_libdir_native}/rdk
14 install -m 0644 ${S}/devices/broadband/parodus2ccsp/systemd/webpabroadband.service ${D}${systemd_unitdir}/system
15 install -m 0755 ${S}/devices/broadband/parodus2ccsp/scripts/webpa_pre_setup.sh ${D}${base_libdir_native}/rdk
16}
17
18SYSTEMD_SERVICE_${PN}_append = " webpabroadband.service"
19
20FILES_${PN}_append = " \
21 ${systemd_unitdir}/system/webpabroadband.service \
22 ${base_libdir_native}/rdk/* \
23 "