From 23f6fa0bb75f7757185f346478a960ccd9f614f5 Mon Sep 17 00:00:00 2001 From: Sandeep Gundlupet Raju Date: Fri, 26 Jul 2024 12:09:27 -0600 Subject: 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 Signed-off-by: Mark Hatle --- meta-xilinx-demos/conf/layer.conf | 10 ++ .../recipes-example/pm-notebooks/files/LICENSE | 27 ++++ .../pm-notebooks/pm-notebooks_1.0.bb | 36 +++++ .../openamp/openamp-demo-notebooks_0.1.bb | 32 ++++ .../packagegroups/packagegroup-xilinx-ros.bb | 165 +++++++++++++++++++++ .../packagegroups/packagegroup-xilinx-ros.bb | 165 --------------------- .../openamp/openamp-demo-notebooks_0.1.bb | 32 ---- .../recipes-examples/pm-notebooks/files/LICENSE | 27 ---- .../pm-notebooks/pm-notebooks_1.0.bb | 36 ----- 9 files changed, 270 insertions(+), 260 deletions(-) create mode 100644 meta-xilinx-demos/dynamic-layers/meta-jupyter/recipes-example/pm-notebooks/files/LICENSE create mode 100644 meta-xilinx-demos/dynamic-layers/meta-jupyter/recipes-example/pm-notebooks/pm-notebooks_1.0.bb create mode 100644 meta-xilinx-demos/dynamic-layers/meta-openamp/recipes-example/openamp/openamp-demo-notebooks_0.1.bb create mode 100644 meta-xilinx-demos/dynamic-layers/meta-ros/meta-ros-common/recipes-core/packagegroups/packagegroup-xilinx-ros.bb delete mode 100644 meta-xilinx-demos/recipes-core/packagegroups/packagegroup-xilinx-ros.bb delete mode 100644 meta-xilinx-demos/recipes-examples/openamp/openamp-demo-notebooks_0.1.bb delete mode 100644 meta-xilinx-demos/recipes-examples/pm-notebooks/files/LICENSE delete mode 100644 meta-xilinx-demos/recipes-examples/pm-notebooks/pm-notebooks_1.0.bb diff --git a/meta-xilinx-demos/conf/layer.conf b/meta-xilinx-demos/conf/layer.conf index eb667304..2e611dc9 100644 --- a/meta-xilinx-demos/conf/layer.conf +++ b/meta-xilinx-demos/conf/layer.conf @@ -13,3 +13,13 @@ LAYERDEPENDS_xilinx-demos = "core" LAYERRECOMMENDS_xilinx-demos = "openembedded-layer" LAYERSERIES_COMPAT_xilinx-demos = "scarthgap" + +# Define dynamic layers +BBFILES_DYNAMIC += " \ +jupyter-layer:${LAYERDIR}/dynamic-layers/meta-jupyter/recipes-*/*/*.bb \ +jupyter-layer:${LAYERDIR}/dynamic-layers/meta-jupyter/recipes-*/*/*.bbappend \ +openamp-layer:${LAYERDIR}/dynamic-layers/meta-openamp/recipes-*/*/*.bb \ +openamp-layer:${LAYERDIR}/dynamic-layers/meta-openamp/recipes-*/*/*.bbappend \ +ros-common-layer:${LAYERDIR}/dynamic-layers/meta-ros/meta-ros-common/recipes-*/*/*.bb \ +ros-common-layer:${LAYERDIR}/dynamic-layers/meta-ros/meta-ros-common/recipes-*/*/*.bbappend \ +" diff --git a/meta-xilinx-demos/dynamic-layers/meta-jupyter/recipes-example/pm-notebooks/files/LICENSE b/meta-xilinx-demos/dynamic-layers/meta-jupyter/recipes-example/pm-notebooks/files/LICENSE new file mode 100644 index 00000000..e09f3af7 --- /dev/null +++ b/meta-xilinx-demos/dynamic-layers/meta-jupyter/recipes-example/pm-notebooks/files/LICENSE @@ -0,0 +1,27 @@ +Copyright (c) 2019, Xilinx +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 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 @@ +DESCRIPTION = "Jupyter notebook examples for Platform Management (PM) in Versal devices" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://../../LICENSE;md5=268f2517fdae6d70f4ea4c55c4090aa8" + +inherit jupyter-examples + +SRC_URI = "git://github.com/Xilinx/platform-management-notebooks.git;branch=xlnx_rel_v2023.2;protocol=https \ + file://LICENSE \ + " + +SRCREV = "c502be361b6857e21ab903f31c9ead69e3a0d9ba" + +S = "${WORKDIR}/git/pm-notebooks" + +COMPATIBLE_MACHINE = "^$" +COMPATIBLE_MACHINE:versal = "versal" +COMPATIBLE_MACHINE:versal-net = "versal-net" + +RDEPENDS:${PN} = " \ + packagegroup-xilinx-jupyter \ + python3-ipywidgets \ + python3-pydot \ + graphviz \ + " + +do_install() { + install -d ${D}/${JUPYTER_DIR}/pm-notebooks + install -d ${D}/${JUPYTER_DIR}/pm-notebooks/pmutil + install -d ${D}/${JUPYTER_DIR}/pm-notebooks/pmutil/data + + install -m 0644 ${S}/README ${D}/${JUPYTER_DIR}/pm-notebooks + install -m 0755 ${S}/*.ipynb ${D}/${JUPYTER_DIR}/pm-notebooks + install -m 0755 ${S}/pmutil/*.py ${D}/${JUPYTER_DIR}/pm-notebooks/pmutil + install -m 0755 ${S}/pmutil/data/*.png ${D}/${JUPYTER_DIR}/pm-notebooks/pmutil/data +} + 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 @@ +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 = "${WORKDIR}/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 +} diff --git a/meta-xilinx-demos/dynamic-layers/meta-ros/meta-ros-common/recipes-core/packagegroups/packagegroup-xilinx-ros.bb b/meta-xilinx-demos/dynamic-layers/meta-ros/meta-ros-common/recipes-core/packagegroups/packagegroup-xilinx-ros.bb new file mode 100644 index 00000000..d9db94ef --- /dev/null +++ b/meta-xilinx-demos/dynamic-layers/meta-ros/meta-ros-common/recipes-core/packagegroups/packagegroup-xilinx-ros.bb @@ -0,0 +1,165 @@ +DESCRIPTION = "Packages for ROS2 Base and Demos including some basic pub/sub examples" + +PACKAGE_ARCH = "${TUNE_PKGARCH}" + +inherit packagegroup +inherit ros_distro_${ROS_DISTRO} + +PROVIDES = "${PACKAGES}" + +PACKAGES += "${PN}-base ${PN}-demo ${PN}-control" + +SUMMARY:${PN}-dev = "ROS packages required for on target development" +ROS_BUILDESSENTIAL_PACKAGES = "\ + ament-lint-auto \ + ament-cmake-auto \ + ament-cmake-core \ + ament-cmake-cppcheck \ + ament-cmake-cpplint \ + ament-cmake-export-definitions \ + ament-cmake-export-dependencies \ + ament-cmake-export-include-directories \ + ament-cmake-export-interfaces \ + ament-cmake-export-libraries \ + ament-cmake-export-link-flags \ + ament-cmake-export-targets \ + ament-cmake-gmock \ + ament-cmake-gtest \ + ament-cmake-include-directories \ + ament-cmake-libraries \ + ament-cmake \ + ament-cmake-pytest \ + ament-cmake-python \ + ament-cmake-ros \ + ament-cmake-target-dependencies \ + ament-cmake-test \ + ament-cmake-version \ + ament-cmake-uncrustify \ + ament-cmake-flake8 \ + ament-cmake-pep257 \ + ament-copyright \ + ament-cpplint \ + ament-flake8 \ + ament-index-python \ + ament-lint-cmake \ + ament-mypy \ + ament-package \ + ament-pclint \ + ament-pep257 \ + ament-pycodestyle \ + ament-pyflakes \ + ament-uncrustify \ + ament-xmllint \ + cmake \ + eigen3-cmake-module \ + fastcdr \ + fastrtps-cmake-module \ + fastrtps \ + foonathan-memory-vendor \ + gmock-vendor \ + gtest-vendor \ + libyaml \ + libyaml-vendor \ + packagegroup-core-buildessential \ + python-cmake-module \ + python3-catkin-pkg \ + python3-colcon-common-extensions \ + python3-empy \ + python3 \ + python3-pytest \ + rcutils \ + rmw-implementation-cmake \ + rosidl-cmake \ + rosidl-default-generators \ + rosidl-generator-c \ + rosidl-generator-cpp \ + rosidl-generator-dds-idl \ + rosidl-generator-py \ + rosidl-parser \ + rosidl-runtime-c \ + rosidl-runtime-cpp \ + rosidl-typesupport-c \ + rosidl-typesupport-cpp \ + rosidl-typesupport-fastrtps-cpp \ + rosidl-typesupport-interface \ + rosidl-typesupport-introspection-c \ + rosidl-typesupport-introspection-cpp \ +" + +SUMMARY:${PN}-base = "ROS_BASE_PACKAGES includes ROS base packages" +ROS_BASE_PACKAGES = "\ + ros-base \ + cyclonedds \ + rmw-cyclonedds-cpp \ + tmux \ + python3-argcomplete \ + glibc-utils \ + localedef \ + rt-tests \ + stress \ + xrt-dev \ + xrt \ + kernel-module-zocl \ + opencl-headers-dev \ + opencl-clhpp-dev \ +" + +SUMMARY:${PN}-demo = "ROS_DEMO_PACKAGES includes ROS examples demos packages" +ROS_DEMO_PACKAGES = "\ + examples-rclcpp-minimal-action-client \ + examples-rclcpp-minimal-action-server \ + examples-rclcpp-minimal-client \ + examples-rclcpp-minimal-composition \ + examples-rclcpp-minimal-publisher \ + examples-rclcpp-minimal-service \ + examples-rclcpp-minimal-subscriber \ + examples-rclcpp-minimal-timer \ + examples-rclcpp-multithreaded-executor \ + examples-rclpy-executors \ + examples-rclpy-minimal-action-server \ + examples-rclpy-minimal-client \ + examples-rclpy-minimal-publisher \ + examples-rclpy-minimal-service \ + examples-rclpy-minimal-subscriber \ + demo-nodes-cpp \ + demo-nodes-cpp-rosnative \ +" + +SUMMARY:${PN}-control = "ROS_CONTROL_PACKAGES includes ROS control packages" +ROS_CONTROL_PACKAGES = "\ + controller-interface \ + controller-manager \ + controller-manager-msgs \ + hardware-interface \ + ros2-control \ + ros2controlcli \ + ros2-control-test-assets \ + transmission-interface \ +" + +#RDEPENDS:${PN}-base:aarch64 = "\ +# ${ROS_BASE_PACKAGES} \ +#" + +#RDEPENDS:${PN}-demo:aarch64 = "\ +# ${ROS_BASE_PACKAGES} \ +# ${ROS_DEMO_PACKAGES} \ +#" + +#RDEPENDS:${PN}-control:aarch64 = "\ +# ${ROS_BASE_PACKAGES} \ +# ${ROS_CONTROL_PACKAGES} \ +#" + +#RDEPENDS:${PN}-dev:aarch64 = "\ +# ${ROS_BUILDESSENTIAL_PACKAGES} \ +#" + +#RDEPENDS:${PN}:aarch64 = "\ +# ${PN}-demo \ +# ${PN}-control \ +# rqt-runtime-monitor \ +#" + +IMAGE_LINGUAS = "en-us" +GLIBC_GENERATE_LOCALES = "en_US.UTF-8" diff --git a/meta-xilinx-demos/recipes-core/packagegroups/packagegroup-xilinx-ros.bb b/meta-xilinx-demos/recipes-core/packagegroups/packagegroup-xilinx-ros.bb deleted file mode 100644 index d9db94ef..00000000 --- a/meta-xilinx-demos/recipes-core/packagegroups/packagegroup-xilinx-ros.bb +++ /dev/null @@ -1,165 +0,0 @@ -DESCRIPTION = "Packages for ROS2 Base and Demos including some basic pub/sub examples" - -PACKAGE_ARCH = "${TUNE_PKGARCH}" - -inherit packagegroup -inherit ros_distro_${ROS_DISTRO} - -PROVIDES = "${PACKAGES}" - -PACKAGES += "${PN}-base ${PN}-demo ${PN}-control" - -SUMMARY:${PN}-dev = "ROS packages required for on target development" -ROS_BUILDESSENTIAL_PACKAGES = "\ - ament-lint-auto \ - ament-cmake-auto \ - ament-cmake-core \ - ament-cmake-cppcheck \ - ament-cmake-cpplint \ - ament-cmake-export-definitions \ - ament-cmake-export-dependencies \ - ament-cmake-export-include-directories \ - ament-cmake-export-interfaces \ - ament-cmake-export-libraries \ - ament-cmake-export-link-flags \ - ament-cmake-export-targets \ - ament-cmake-gmock \ - ament-cmake-gtest \ - ament-cmake-include-directories \ - ament-cmake-libraries \ - ament-cmake \ - ament-cmake-pytest \ - ament-cmake-python \ - ament-cmake-ros \ - ament-cmake-target-dependencies \ - ament-cmake-test \ - ament-cmake-version \ - ament-cmake-uncrustify \ - ament-cmake-flake8 \ - ament-cmake-pep257 \ - ament-copyright \ - ament-cpplint \ - ament-flake8 \ - ament-index-python \ - ament-lint-cmake \ - ament-mypy \ - ament-package \ - ament-pclint \ - ament-pep257 \ - ament-pycodestyle \ - ament-pyflakes \ - ament-uncrustify \ - ament-xmllint \ - cmake \ - eigen3-cmake-module \ - fastcdr \ - fastrtps-cmake-module \ - fastrtps \ - foonathan-memory-vendor \ - gmock-vendor \ - gtest-vendor \ - libyaml \ - libyaml-vendor \ - packagegroup-core-buildessential \ - python-cmake-module \ - python3-catkin-pkg \ - python3-colcon-common-extensions \ - python3-empy \ - python3 \ - python3-pytest \ - rcutils \ - rmw-implementation-cmake \ - rosidl-cmake \ - rosidl-default-generators \ - rosidl-generator-c \ - rosidl-generator-cpp \ - rosidl-generator-dds-idl \ - rosidl-generator-py \ - rosidl-parser \ - rosidl-runtime-c \ - rosidl-runtime-cpp \ - rosidl-typesupport-c \ - rosidl-typesupport-cpp \ - rosidl-typesupport-fastrtps-cpp \ - rosidl-typesupport-interface \ - rosidl-typesupport-introspection-c \ - rosidl-typesupport-introspection-cpp \ -" - -SUMMARY:${PN}-base = "ROS_BASE_PACKAGES includes ROS base packages" -ROS_BASE_PACKAGES = "\ - ros-base \ - cyclonedds \ - rmw-cyclonedds-cpp \ - tmux \ - python3-argcomplete \ - glibc-utils \ - localedef \ - rt-tests \ - stress \ - xrt-dev \ - xrt \ - kernel-module-zocl \ - opencl-headers-dev \ - opencl-clhpp-dev \ -" - -SUMMARY:${PN}-demo = "ROS_DEMO_PACKAGES includes ROS examples demos packages" -ROS_DEMO_PACKAGES = "\ - examples-rclcpp-minimal-action-client \ - examples-rclcpp-minimal-action-server \ - examples-rclcpp-minimal-client \ - examples-rclcpp-minimal-composition \ - examples-rclcpp-minimal-publisher \ - examples-rclcpp-minimal-service \ - examples-rclcpp-minimal-subscriber \ - examples-rclcpp-minimal-timer \ - examples-rclcpp-multithreaded-executor \ - examples-rclpy-executors \ - examples-rclpy-minimal-action-server \ - examples-rclpy-minimal-client \ - examples-rclpy-minimal-publisher \ - examples-rclpy-minimal-service \ - examples-rclpy-minimal-subscriber \ - demo-nodes-cpp \ - demo-nodes-cpp-rosnative \ -" - -SUMMARY:${PN}-control = "ROS_CONTROL_PACKAGES includes ROS control packages" -ROS_CONTROL_PACKAGES = "\ - controller-interface \ - controller-manager \ - controller-manager-msgs \ - hardware-interface \ - ros2-control \ - ros2controlcli \ - ros2-control-test-assets \ - transmission-interface \ -" - -#RDEPENDS:${PN}-base:aarch64 = "\ -# ${ROS_BASE_PACKAGES} \ -#" - -#RDEPENDS:${PN}-demo:aarch64 = "\ -# ${ROS_BASE_PACKAGES} \ -# ${ROS_DEMO_PACKAGES} \ -#" - -#RDEPENDS:${PN}-control:aarch64 = "\ -# ${ROS_BASE_PACKAGES} \ -# ${ROS_CONTROL_PACKAGES} \ -#" - -#RDEPENDS:${PN}-dev:aarch64 = "\ -# ${ROS_BUILDESSENTIAL_PACKAGES} \ -#" - -#RDEPENDS:${PN}:aarch64 = "\ -# ${PN}-demo \ -# ${PN}-control \ -# rqt-runtime-monitor \ -#" - -IMAGE_LINGUAS = "en-us" -GLIBC_GENERATE_LOCALES = "en_US.UTF-8" 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 @@ -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 = "${WORKDIR}/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 -} 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 @@ -Copyright (c) 2019, Xilinx -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the name of the copyright holder nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -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 @@ -DESCRIPTION = "Jupyter notebook examples for Platform Management (PM) in Versal devices" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://../../LICENSE;md5=268f2517fdae6d70f4ea4c55c4090aa8" - -inherit jupyter-examples - -SRC_URI = "git://github.com/Xilinx/platform-management-notebooks.git;branch=xlnx_rel_v2023.2;protocol=https \ - file://LICENSE \ - " - -SRCREV = "c502be361b6857e21ab903f31c9ead69e3a0d9ba" - -S = "${WORKDIR}/git/pm-notebooks" - -COMPATIBLE_MACHINE = "^$" -COMPATIBLE_MACHINE:versal = "versal" -COMPATIBLE_MACHINE:versal-net = "versal-net" - -RDEPENDS:${PN} = " \ - packagegroup-xilinx-jupyter \ - python3-ipywidgets \ - python3-pydot \ - graphviz \ - " - -do_install() { - install -d ${D}/${JUPYTER_DIR}/pm-notebooks - install -d ${D}/${JUPYTER_DIR}/pm-notebooks/pmutil - install -d ${D}/${JUPYTER_DIR}/pm-notebooks/pmutil/data - - install -m 0644 ${S}/README ${D}/${JUPYTER_DIR}/pm-notebooks - install -m 0755 ${S}/*.ipynb ${D}/${JUPYTER_DIR}/pm-notebooks - install -m 0755 ${S}/pmutil/*.py ${D}/${JUPYTER_DIR}/pm-notebooks/pmutil - install -m 0755 ${S}/pmutil/data/*.png ${D}/${JUPYTER_DIR}/pm-notebooks/pmutil/data -} - -- cgit v1.2.3-54-g00ecf