diff options
| author | Mark Hatle <mark.hatle@xilinx.com> | 2022-01-14 15:57:22 -0800 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@xilinx.com> | 2022-01-21 12:33:08 -0800 |
| commit | db61d8e2a7a3ebe46a3482bf3dfa191a1cfc43b7 (patch) | |
| tree | b0787e136d123df0840f2743120b330997e1ad1a /meta-xilinx-core/recipes-kernel/lopper | |
| parent | 4ccdb7346e491a5bd43d3085f9657c0aca388a40 (diff) | |
| download | meta-xilinx-db61d8e2a7a3ebe46a3482bf3dfa191a1cfc43b7.tar.gz | |
core: Move lopper and python modules to dynamic-layers
Lopper comes from meta-virtualization, the python modules are required by
it and the related changes.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Diffstat (limited to 'meta-xilinx-core/recipes-kernel/lopper')
| -rw-r--r-- | meta-xilinx-core/recipes-kernel/lopper/lopper.bbappend | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/meta-xilinx-core/recipes-kernel/lopper/lopper.bbappend b/meta-xilinx-core/recipes-kernel/lopper/lopper.bbappend deleted file mode 100644 index aa552fe5..00000000 --- a/meta-xilinx-core/recipes-kernel/lopper/lopper.bbappend +++ /dev/null | |||
| @@ -1,54 +0,0 @@ | |||
| 1 | DEPENDS = " \ | ||
| 2 | dtc \ | ||
| 3 | python3-dtc \ | ||
| 4 | python3-flask \ | ||
| 5 | python3-flask-restful \ | ||
| 6 | python3-six \ | ||
| 7 | python3-pandas \ | ||
| 8 | python3-ruamel-yaml \ | ||
| 9 | python3-anytree \ | ||
| 10 | python3-pyyaml \ | ||
| 11 | python3-humanfriendly \ | ||
| 12 | " | ||
| 13 | |||
| 14 | RDEPENDS:${PN} += " \ | ||
| 15 | python3-flask \ | ||
| 16 | python3-flask-restful \ | ||
| 17 | python3-six \ | ||
| 18 | python3-pandas \ | ||
| 19 | python3-ruamel-yaml \ | ||
| 20 | python3-anytree \ | ||
| 21 | python3-pyyaml \ | ||
| 22 | " | ||
| 23 | |||
| 24 | SRC_URI = "git://github.com/devicetree-org/lopper.git;branch=master" | ||
| 25 | SRCREV = "4fc085c4be031996e7f48dcaf03d0782989c8d58" | ||
| 26 | |||
| 27 | do_install() { | ||
| 28 | install -d "${D}/${bindir}" | ||
| 29 | install -d "${D}/${datadir}/${BPN}" | ||
| 30 | |||
| 31 | install -m 0644 "${S}/README" "${D}/${datadir}/${BPN}" | ||
| 32 | install -m 0644 "${S}/README-architecture.txt" "${D}/${datadir}/${BPN}" | ||
| 33 | install -m 0644 "${S}/README.pydoc" "${D}/${datadir}/${BPN}" | ||
| 34 | install -m 0644 "${S}/LICENSE.md" "${D}/${datadir}/${BPN}" | ||
| 35 | |||
| 36 | install -d "${D}/${datadir}/${BPN}/assists" | ||
| 37 | #install -m 0644 "${S}/assists/"* "${D}/${datadir}/${BPN}/assists/" | ||
| 38 | cp -r "${S}/assists/"* "${D}/${datadir}/${BPN}/assists/" | ||
| 39 | |||
| 40 | install -d "${D}/${datadir}/${BPN}/lops" | ||
| 41 | install -m 0644 "${S}/lops/"* "${D}/${datadir}/${BPN}/lops/" | ||
| 42 | |||
| 43 | install -d "${D}/${datadir}/${BPN}/device-trees" | ||
| 44 | install -m 0644 "${S}/device-trees/"* "${D}/${datadir}/${BPN}/device-trees/" | ||
| 45 | |||
| 46 | install -m 0644 "${S}/"lopper.ini "${D}/${datadir}/${BPN}/" | ||
| 47 | |||
| 48 | install -m 0755 "${S}/"lopper*.py "${D}/${datadir}/${BPN}/" | ||
| 49 | sed -i 's,#!/usr/bin/python3,#!/usr/bin/env python3,' ${D}/${datadir}/${BPN}/lopper.py | ||
| 50 | sed -i 's,#!/usr/bin/python3,#!/usr/bin/env python3,' ${D}/${datadir}/${BPN}/lopper_sanity.py | ||
| 51 | |||
| 52 | datadir_relpath=${@os.path.relpath(d.getVar('datadir'), d.getVar('bindir'))} | ||
| 53 | ln -s "${datadir_relpath}/${BPN}/lopper.py" "${D}/${bindir}/" | ||
| 54 | } | ||
