summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-demos/recipes-examples
diff options
context:
space:
mode:
authorSandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>2024-07-26 12:09:27 -0600
committerMark Hatle <mark.hatle@amd.com>2024-07-28 18:11:29 -0500
commit23f6fa0bb75f7757185f346478a960ccd9f614f5 (patch)
tree3a93359172f3ba28ff3950e77c22053942935881 /meta-xilinx-demos/recipes-examples
parent268cb8510047361d46db8ad5c6b065865bf9455e (diff)
downloadmeta-xilinx-23f6fa0bb75f7757185f346478a960ccd9f614f5.tar.gz
meta-xilinx-demos: Fix recipe ParseError for poky distro
Fix recipe ParseError in meta-xilinx-demos layer for poky distro. ERROR: ParseError at /scratch/sandeep/yocto/2024.2/yp-ci/sources/poky/../meta-xilinx/meta-xilinx-demos/recipes-core/packagegroups/packagegroup-xilinx-ros.bb:6: Could not inherit file classes/ros_distro_${ROS_DISTRO}.bbclass ERROR: ParseError at /scratch/sandeep/yocto/2024.2/yp-ci/sources/poky/../meta-xilinx/meta-xilinx-demos/recipes-examples/openamp/openamp-demo-notebooks_0.1.bb:5: Could not inherit file classes/jupyter-examples.bbclass ERROR: ParseError at /scratch/sandeep/yocto/2024.2/yp-ci/sources/poky/../meta-xilinx/meta-xilinx-demos/recipes-examples/pm-notebooks/pm-notebooks_1.0.bb:5: Could not inherit file classes/jupyter-examples.bbclass Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-demos/recipes-examples')
-rw-r--r--meta-xilinx-demos/recipes-examples/openamp/openamp-demo-notebooks_0.1.bb32
-rw-r--r--meta-xilinx-demos/recipes-examples/pm-notebooks/files/LICENSE27
-rw-r--r--meta-xilinx-demos/recipes-examples/pm-notebooks/pm-notebooks_1.0.bb36
3 files changed, 0 insertions, 95 deletions
diff --git a/meta-xilinx-demos/recipes-examples/openamp/openamp-demo-notebooks_0.1.bb b/meta-xilinx-demos/recipes-examples/openamp/openamp-demo-notebooks_0.1.bb
deleted file mode 100644
index 4c4ff2d8..00000000
--- a/meta-xilinx-demos/recipes-examples/openamp/openamp-demo-notebooks_0.1.bb
+++ /dev/null
@@ -1,32 +0,0 @@
1DESCRIPTION = "Jupyter notebooks for openAMP"
2LICENSE = "BSD-3-Clause"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=268f2517fdae6d70f4ea4c55c4090aa8"
4
5inherit jupyter-examples
6
7REPO ?= "git://github.com/Xilinx/OpenAMP-notebooks.git;protocol=https"
8SRCREV ?= "30b76d864261e5dd321fadfaf74b933b7cd88892"
9BRANCH ?= "main"
10BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH') != '']}"
11SRC_URI = "${REPO};${BRANCHARG}"
12PV .= "+git"
13S = "${WORKDIR}/git/openamp"
14
15COMPATIBLE_MACHINE = "^$"
16COMPATIBLE_MACHINE:zynqmp = "zynqmp"
17COMPATIBLE_MACHINE:versal = "versal"
18COMPATIBLE_MACHINE:versal-net = "versal-net"
19
20DEPENDS += " packagegroup-xilinx-jupyter \
21 packagegroup-openamp"
22
23RDEPENDS:${PN} = " packagegroup-xilinx-jupyter \
24 packagegroup-openamp"
25
26do_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}
diff --git a/meta-xilinx-demos/recipes-examples/pm-notebooks/files/LICENSE b/meta-xilinx-demos/recipes-examples/pm-notebooks/files/LICENSE
deleted file mode 100644
index e09f3af7..00000000
--- a/meta-xilinx-demos/recipes-examples/pm-notebooks/files/LICENSE
+++ /dev/null
@@ -1,27 +0,0 @@
1Copyright (c) 2019, Xilinx
2All rights reserved.
3
4Redistribution and use in source and binary forms, with or without
5modification, are permitted provided that the following conditions are met:
6
7* Redistributions of source code must retain the above copyright notice, this
8 list of conditions and the following disclaimer.
9
10* Redistributions in binary form must reproduce the above copyright notice,
11 this list of conditions and the following disclaimer in the documentation
12 and/or other materials provided with the distribution.
13
14* Neither the name of the copyright holder nor the names of its
15 contributors may be used to endorse or promote products derived from
16 this software without specific prior written permission.
17
18THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
22FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
24SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
25CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
26OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/meta-xilinx-demos/recipes-examples/pm-notebooks/pm-notebooks_1.0.bb b/meta-xilinx-demos/recipes-examples/pm-notebooks/pm-notebooks_1.0.bb
deleted file mode 100644
index 2c00c316..00000000
--- a/meta-xilinx-demos/recipes-examples/pm-notebooks/pm-notebooks_1.0.bb
+++ /dev/null
@@ -1,36 +0,0 @@
1DESCRIPTION = "Jupyter notebook examples for Platform Management (PM) in Versal devices"
2LICENSE = "BSD-3-Clause"
3LIC_FILES_CHKSUM = "file://../../LICENSE;md5=268f2517fdae6d70f4ea4c55c4090aa8"
4
5inherit jupyter-examples
6
7SRC_URI = "git://github.com/Xilinx/platform-management-notebooks.git;branch=xlnx_rel_v2023.2;protocol=https \
8 file://LICENSE \
9 "
10
11SRCREV = "c502be361b6857e21ab903f31c9ead69e3a0d9ba"
12
13S = "${WORKDIR}/git/pm-notebooks"
14
15COMPATIBLE_MACHINE = "^$"
16COMPATIBLE_MACHINE:versal = "versal"
17COMPATIBLE_MACHINE:versal-net = "versal-net"
18
19RDEPENDS:${PN} = " \
20 packagegroup-xilinx-jupyter \
21 python3-ipywidgets \
22 python3-pydot \
23 graphviz \
24 "
25
26do_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