developer | 15a4331 | 2022-04-12 11:23:23 +0800 | [diff] [blame] | 1 | SRC_URI += "${CMF_GIT_ROOT}/rdk/devices/raspberrypi/webpa-client;protocol=${CMF_GIT_PROTOCOL};branch=${CMF_GIT_BRANCH};destsuffix=git/devices;name=rdkbturris" |
| 2 | |
| 3 | SRCREV_rdkbturris = "${AUTOREV}" |
| 4 | do_fetch[vardeps] += "SRCREV_rdkbturris" |
| 5 | SRCREV_FORMAT .= "_rdkbturris" |
| 6 | |
| 7 | inherit systemd |
| 8 | |
| 9 | EXTRA_OECMAKE += "-DBUILD_RASPBERRYPI=ON " |
| 10 | |
| 11 | do_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 | |
| 18 | SYSTEMD_SERVICE_${PN}_append = " webpabroadband.service" |
| 19 | |
| 20 | FILES_${PN}_append = " \ |
| 21 | ${systemd_unitdir}/system/webpabroadband.service \ |
| 22 | ${base_libdir_native}/rdk/* \ |
| 23 | " |