diff options
| author | Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> | 2024-07-26 12:09:27 -0600 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2024-07-28 18:11:29 -0500 |
| commit | 23f6fa0bb75f7757185f346478a960ccd9f614f5 (patch) | |
| tree | 3a93359172f3ba28ff3950e77c22053942935881 /meta-xilinx-demos/recipes-examples | |
| parent | 268cb8510047361d46db8ad5c6b065865bf9455e (diff) | |
| download | meta-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')
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 @@ | |||
| 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 | } | ||
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 @@ | |||
| 1 | Copyright (c) 2019, Xilinx | ||
| 2 | All rights reserved. | ||
| 3 | |||
| 4 | Redistribution and use in source and binary forms, with or without | ||
| 5 | modification, 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 | |||
| 18 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | ||
| 19 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
| 20 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
| 21 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE | ||
| 22 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
| 23 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR | ||
| 24 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | ||
| 25 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, | ||
| 26 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
| 27 | OF 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 @@ | |||
| 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 | |||
