diff options
Diffstat (limited to 'meta-xilinx-demos/dynamic-layers/meta-jupyter/recipes-example/pm-notebooks/pm-notebooks_1.0.bb')
| -rw-r--r-- | meta-xilinx-demos/dynamic-layers/meta-jupyter/recipes-example/pm-notebooks/pm-notebooks_1.0.bb | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta-xilinx-demos/dynamic-layers/meta-jupyter/recipes-example/pm-notebooks/pm-notebooks_1.0.bb b/meta-xilinx-demos/dynamic-layers/meta-jupyter/recipes-example/pm-notebooks/pm-notebooks_1.0.bb new file mode 100644 index 00000000..2c00c316 --- /dev/null +++ b/meta-xilinx-demos/dynamic-layers/meta-jupyter/recipes-example/pm-notebooks/pm-notebooks_1.0.bb | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | DESCRIPTION = "Jupyter notebook examples for Platform Management (PM) in Versal devices" | ||
| 2 | LICENSE = "BSD-3-Clause" | ||
| 3 | LIC_FILES_CHKSUM = "file://../../LICENSE;md5=268f2517fdae6d70f4ea4c55c4090aa8" | ||
| 4 | |||
| 5 | inherit jupyter-examples | ||
| 6 | |||
| 7 | SRC_URI = "git://github.com/Xilinx/platform-management-notebooks.git;branch=xlnx_rel_v2023.2;protocol=https \ | ||
| 8 | file://LICENSE \ | ||
| 9 | " | ||
| 10 | |||
| 11 | SRCREV = "c502be361b6857e21ab903f31c9ead69e3a0d9ba" | ||
| 12 | |||
| 13 | S = "${WORKDIR}/git/pm-notebooks" | ||
| 14 | |||
| 15 | COMPATIBLE_MACHINE = "^$" | ||
| 16 | COMPATIBLE_MACHINE:versal = "versal" | ||
| 17 | COMPATIBLE_MACHINE:versal-net = "versal-net" | ||
| 18 | |||
| 19 | RDEPENDS:${PN} = " \ | ||
| 20 | packagegroup-xilinx-jupyter \ | ||
| 21 | python3-ipywidgets \ | ||
| 22 | python3-pydot \ | ||
| 23 | graphviz \ | ||
| 24 | " | ||
| 25 | |||
| 26 | do_install() { | ||
| 27 | install -d ${D}/${JUPYTER_DIR}/pm-notebooks | ||
| 28 | install -d ${D}/${JUPYTER_DIR}/pm-notebooks/pmutil | ||
| 29 | install -d ${D}/${JUPYTER_DIR}/pm-notebooks/pmutil/data | ||
| 30 | |||
| 31 | install -m 0644 ${S}/README ${D}/${JUPYTER_DIR}/pm-notebooks | ||
| 32 | install -m 0755 ${S}/*.ipynb ${D}/${JUPYTER_DIR}/pm-notebooks | ||
| 33 | install -m 0755 ${S}/pmutil/*.py ${D}/${JUPYTER_DIR}/pm-notebooks/pmutil | ||
| 34 | install -m 0755 ${S}/pmutil/data/*.png ${D}/${JUPYTER_DIR}/pm-notebooks/pmutil/data | ||
| 35 | } | ||
| 36 | |||
