blob: bd393bcb21235f928e68c89304f0cb2c7652b8da [file] [log] [blame]
SRC_URI += "${CMF_GIT_ROOT}/rdk/devices/raspberrypi/webpa-client;protocol=${CMF_GIT_PROTOCOL};branch=${CMF_GIT_BRANCH};destsuffix=git/devices;name=rdkbfilogic"
SRCREV_rdkbfilogic = "${AUTOREV}"
do_fetch[vardeps] += "SRCREV_rdkbfilogic"
SRCREV_FORMAT .= "_rdkbfilogic"
inherit systemd
EXTRA_OECMAKE += "-DBUILD_RASPBERRYPI=ON "
do_install_append_broadband () {
install -d ${D}${systemd_unitdir}/system
install -d ${D}${base_libdir_native}/rdk
install -m 0644 ${S}/devices/broadband/parodus2ccsp/systemd/webpabroadband.service ${D}${systemd_unitdir}/system
install -m 0755 ${S}/devices/broadband/parodus2ccsp/scripts/webpa_pre_setup.sh ${D}${base_libdir_native}/rdk
}
SYSTEMD_SERVICE_${PN}_append = " webpabroadband.service"
FILES_${PN}_append = " \
${systemd_unitdir}/system/webpabroadband.service \
${base_libdir_native}/rdk/* \
"