diff options
author | Mark Hatle <mark.hatle@amd.com> | 2024-11-21 13:54:05 -0600 |
---|---|---|
committer | Mark Hatle <mark.hatle@amd.com> | 2024-11-21 13:54:05 -0600 |
commit | 1241013c7bce4262a6128eb4ccb3db410831746d (patch) | |
tree | da79ab94a5b4ae9abf6211d8289a4bf5dbdcde9f /meta-xilinx-demos/classes/jupyter-examples.bbclass | |
parent | 6e3a214d268c7d75a42a9a329b5621fb5a49a89a (diff) | |
parent | 10531c26195f97f9565e9770c21977805e53c46b (diff) | |
download | meta-xilinx-1241013c7bce4262a6128eb4ccb3db410831746d.tar.gz |
Merge remote-tracking branch 'origin/scarthgap' into yocto-master
This moves the system to scarthgap. It is known to NOT work with Styhead and master,
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-demos/classes/jupyter-examples.bbclass')
-rw-r--r-- | meta-xilinx-demos/classes/jupyter-examples.bbclass | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/meta-xilinx-demos/classes/jupyter-examples.bbclass b/meta-xilinx-demos/classes/jupyter-examples.bbclass new file mode 100644 index 00000000..962f45b2 --- /dev/null +++ b/meta-xilinx-demos/classes/jupyter-examples.bbclass | |||
@@ -0,0 +1,17 @@ | |||
1 | S = "${WORKDIR}" | ||
2 | |||
3 | FILES:${PN} += "${JUPYTER_DIR}" | ||
4 | |||
5 | RDEPENDS:${PN} ?= "packagegroup-xilinx-jupyter" | ||
6 | |||
7 | JUPYTER_DIR ?= "${datadir}/example-notebooks" | ||
8 | |||
9 | do_install() { | ||
10 | install -d ${D}/${JUPYTER_DIR}/${PN} | ||
11 | install -m 0755 ${S}/*.ipynb ${D}/${JUPYTER_DIR}/${PN}/ | ||
12 | } | ||
13 | |||
14 | EXCLUDE_FROM_WORLD = "1" | ||
15 | |||
16 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
17 | |||