blob: c2ef352bb59d280e3c3db092b35b0d4a7594957b [file] [log] [blame]
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
SRC_URI_append = " \
file://*.patch;apply=no \
"
do_filogic_patches() {
cd ${S}
if [ ! -e patch_applied ]; then
for i in ${WORKDIR}/*.patch; do patch -p1 < $i; done
touch patch_applied
fi
}
addtask filogic_patches after do_unpack before do_configure
do_install_append () {
install -d ${D}${systemd_unitdir}/system
install -D -m 0644 ${S}/scripts/RdkEasyMeshController.service ${D}${systemd_unitdir}/system/RdkEasyMeshController.service
}
SYSTEMD_SERVICE_${PN} += "RdkEasyMeshController.service"
FILES_${PN}_append += "${systemd_unitdir}/system/RdkEasyMeshController.service"