blob: 1d823128faa25b5292fb2b26f5c5e7c6f059d4fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
DESCRIPTION = "Jupyter notebooks for openAMP"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=268f2517fdae6d70f4ea4c55c4090aa8"
inherit jupyter-examples
REPO ?= "git://github.com/Xilinx/OpenAMP-notebooks.git;protocol=https"
SRCREV ?= "30b76d864261e5dd321fadfaf74b933b7cd88892"
BRANCH ?= "main"
BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH') != '']}"
SRC_URI = "${REPO};${BRANCHARG}"
PV .= "+git"
S = "${UNPACKDIR}/git/openamp"
COMPATIBLE_MACHINE = "^$"
COMPATIBLE_MACHINE:zynqmp = "zynqmp"
COMPATIBLE_MACHINE:versal = "versal"
COMPATIBLE_MACHINE:versal-net = "versal-net"
DEPENDS += " packagegroup-xilinx-jupyter \
packagegroup-openamp"
RDEPENDS:${PN} = " packagegroup-xilinx-jupyter \
packagegroup-openamp"
do_install() {
install -d ${D}/${JUPYTER_DIR}/openamp-notebooks
install -d ${D}/${JUPYTER_DIR}/openamp-notebooks/pics
install -m 0755 ${S}/*.ipynb ${D}/${JUPYTER_DIR}/openamp-notebooks
install -m 0755 ${S}/pics/*.png ${D}/${JUPYTER_DIR}/openamp-notebooks/pics
}
|