blob: 96303bdfd06407656ec34488102e6ff90a826ed3 [file] [log] [blame]
Andrew Geissler84ad7c52020-06-27 00:00:16 -05001SUMMARY = "Xilinx PYNQ Library"
2HOMEPAGE = "http://pynq.io"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=b42e39ad2ddbad7e8ad47f3eee6feff5"
5
6SRC_URI[md5sum] = "9950894100c20293e921090b76ca9f17"
7SRC_URI[sha256sum] = "4f719e2753093d1e79931755c624d160cf342c03af49e027d09abe75bdc8e8c5"
8
9RDEPENDS_${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
30inherit update-rc.d xilinx-pynq
31
32DEPENDS += " libdrm boost libcma"
33
34SRC_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
40FILESEXTRAPATHS_prepend := "${THISDIR}:"
41
42INITSCRIPT_PACKAGES = "${PN}"
43INITSCRIPT_NAME = "pl_server_init"
44INITSCRIPT_PARAMS = "start 99 S ."
45
46do_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
53FILES_${PN} += " ${INIT_D_DIR}/pl_server_init "