diff options
Diffstat (limited to 'meta-xilinx-demos/dynamic-layers/meta-openamp/recipes-example/openamp/openamp-demo-notebooks_0.1.bb')
| -rw-r--r-- | meta-xilinx-demos/dynamic-layers/meta-openamp/recipes-example/openamp/openamp-demo-notebooks_0.1.bb | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-xilinx-demos/dynamic-layers/meta-openamp/recipes-example/openamp/openamp-demo-notebooks_0.1.bb b/meta-xilinx-demos/dynamic-layers/meta-openamp/recipes-example/openamp/openamp-demo-notebooks_0.1.bb new file mode 100644 index 00000000..4c4ff2d8 --- /dev/null +++ b/meta-xilinx-demos/dynamic-layers/meta-openamp/recipes-example/openamp/openamp-demo-notebooks_0.1.bb | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | DESCRIPTION = "Jupyter notebooks for openAMP" | ||
| 2 | LICENSE = "BSD-3-Clause" | ||
| 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=268f2517fdae6d70f4ea4c55c4090aa8" | ||
| 4 | |||
| 5 | inherit jupyter-examples | ||
| 6 | |||
| 7 | REPO ?= "git://github.com/Xilinx/OpenAMP-notebooks.git;protocol=https" | ||
| 8 | SRCREV ?= "30b76d864261e5dd321fadfaf74b933b7cd88892" | ||
| 9 | BRANCH ?= "main" | ||
| 10 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH') != '']}" | ||
| 11 | SRC_URI = "${REPO};${BRANCHARG}" | ||
| 12 | PV .= "+git" | ||
| 13 | S = "${WORKDIR}/git/openamp" | ||
| 14 | |||
| 15 | COMPATIBLE_MACHINE = "^$" | ||
| 16 | COMPATIBLE_MACHINE:zynqmp = "zynqmp" | ||
| 17 | COMPATIBLE_MACHINE:versal = "versal" | ||
| 18 | COMPATIBLE_MACHINE:versal-net = "versal-net" | ||
| 19 | |||
| 20 | DEPENDS += " packagegroup-xilinx-jupyter \ | ||
| 21 | packagegroup-openamp" | ||
| 22 | |||
| 23 | RDEPENDS:${PN} = " packagegroup-xilinx-jupyter \ | ||
| 24 | packagegroup-openamp" | ||
| 25 | |||
| 26 | do_install() { | ||
| 27 | install -d ${D}/${JUPYTER_DIR}/openamp-notebooks | ||
| 28 | install -d ${D}/${JUPYTER_DIR}/openamp-notebooks/pics | ||
| 29 | |||
| 30 | install -m 0755 ${S}/*.ipynb ${D}/${JUPYTER_DIR}/openamp-notebooks | ||
| 31 | install -m 0755 ${S}/pics/*.png ${D}/${JUPYTER_DIR}/openamp-notebooks/pics | ||
| 32 | } | ||
