Andrew Geissler | 84ad7c5 | 2020-06-27 00:00:16 -0500 | [diff] [blame^] | 1 | SUMMARY = "Xilinx PYNQ Library" |
| 2 | HOMEPAGE = "http://pynq.io" |
| 3 | LICENSE = "MIT" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b42e39ad2ddbad7e8ad47f3eee6feff5" |
| 5 | |
| 6 | SRC_URI[md5sum] = "9950894100c20293e921090b76ca9f17" |
| 7 | SRC_URI[sha256sum] = "4f719e2753093d1e79931755c624d160cf342c03af49e027d09abe75bdc8e8c5" |
| 8 | |
| 9 | RDEPENDS_${PN} += "\ |
| 10 | ${PYTHON_PN}-core \ |
| 11 | ${PYTHON_PN}-asyncio \ |
| 12 | ${PYTHON_PN}-cffi \ |
| 13 | ${PYTHON_PN}-json \ |
| 14 | ${PYTHON_PN}-math \ |
| 15 | ${PYTHON_PN}-mmap \ |
| 16 | ${PYTHON_PN}-multiprocessing \ |
| 17 | ${PYTHON_PN}-numpy \ |
| 18 | ${PYTHON_PN}-pycparser \ |
| 19 | ${PYTHON_PN}-resource \ |
| 20 | ${PYTHON_PN}-setuptools \ |
| 21 | ${PYTHON_PN}-threading \ |
| 22 | ${PYTHON_PN}-xml \ |
| 23 | ${PYTHON_PN}-audio \ |
| 24 | lmsensors-libsensors \ |
| 25 | libdrm \ |
| 26 | libcma \ |
| 27 | pynq-overlay \ |
| 28 | " |
| 29 | |
| 30 | inherit update-rc.d xilinx-pynq |
| 31 | |
| 32 | DEPENDS += " libdrm boost libcma" |
| 33 | |
| 34 | SRC_URI += "file://pl_server_init \ |
| 35 | file://0001-Fix-3.6-ism-in-Xlnk-class.patch \ |
| 36 | file://0002-Avoid-deleteing-notebooks.patch \ |
| 37 | file://0003-Use-sysroot-for-Displayport-library.patch \ |
| 38 | " |
| 39 | |
| 40 | FILESEXTRAPATHS_prepend := "${THISDIR}:" |
| 41 | |
| 42 | INITSCRIPT_PACKAGES = "${PN}" |
| 43 | INITSCRIPT_NAME = "pl_server_init" |
| 44 | INITSCRIPT_PARAMS = "start 99 S ." |
| 45 | |
| 46 | do_install_append() { |
| 47 | install -d ${D}${INIT_D_DIR} |
| 48 | install -m 755 ${WORKDIR}/pl_server_init ${D}${INIT_D_DIR}/pl_server_init |
| 49 | rm -rf ${D}${PYNQ_NOTEBOOK_DIR}_* |
| 50 | } |
| 51 | |
| 52 | |
| 53 | FILES_${PN} += " ${INIT_D_DIR}/pl_server_init " |