SUMMARY = "DE10-Nano FPGA Initialization" DESCRIPTION = "Scripts to initialize the FPGA and its peripherals using devicetree overlays." AUTHOR = "Dalon Westergreen " SECTION = "DE10-Nano" PR = "r0" inherit systemd LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" PACKAGE_ARCH = "${MACHINE_ARCH}" PV = "1.0${PR}" FILESEXTRAPATHS_prepend := "${THISDIR}/files:" SRC_URI = "file://de10-nano-fpga-init.service \ file://de10-nano-fpga-init.sh \ " do_install() { install -d ${D}${base_libdir}/systemd/system install -m 0644 ${WORKDIR}/*.service ${D}${base_libdir}/systemd/system install -d ${D}${bindir} install -m 0755 ${WORKDIR}/*.sh ${D}${bindir} } ALLOW_EMPTY_${PN} = "1" FILES_${PN}-network = "${base_libdir}/systemd/system/de10-nano-fpga-init.service \ ${bindir}/de10-nano-fpga-init.sh" NATIVE_SYSTEMD_SUPPORT = "1" SYSTEMD_PACKAGES = "${PN}" SYSTEMD_SERVICE_${PN} = "de10-nano-fpga-init.service"