diff options
author | Mark Hatle <mark.hatle@amd.com> | 2024-11-11 11:24:08 -0700 |
---|---|---|
committer | Mark Hatle <mark.hatle@amd.com> | 2024-11-11 11:24:08 -0700 |
commit | ee6e2f1f4fc8d438bfde7634e31657b52970fda9 (patch) | |
tree | 38b5366d82e15538ab3c5e4f9a3dd1dcac26ff20 /meta-xilinx-demos/classes | |
parent | 03d3b2ce359a1c2959f04588cf2c4a1b0dcb4de8 (diff) | |
parent | 7c79383570dc4182bb21cdee68598ccf47403150 (diff) | |
download | meta-xilinx-ee6e2f1f4fc8d438bfde7634e31657b52970fda9.tar.gz |
Merge remote-tracking branch 'origin/rel-v2024.2' into scarthgap-next
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-demos/classes')
-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 | |||