diff options
| author | Christopher Clark <christopher.clark@starlab.io> | 2021-07-27 17:07:39 -0700 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2021-07-29 10:55:42 -0400 |
| commit | 29796322c23ce6b425cd0adce380391b70f492df (patch) | |
| tree | 8339afc1554a5995a60a67335d920bb8a26fcc33 /recipes-kernel/dtc | |
| parent | 11036424a95764707621c92f0e787c9d2c80a431 (diff) | |
| download | meta-virtualization-29796322c23ce6b425cd0adce380391b70f492df.tar.gz | |
lopper, python-dtc: add new recipes for device tree tools
This device tree tooling is being added as a prequisite for enabling
qemuboot with the Arm 64-bit version of the Xen hypervisor.
lopper: a tool for performing operations on device tree files.
A new recipe inspired by the original from meta-xilinx-bsp.
python-dtc: a python library for the Device Tree compiler.
This is a prerequisite for lopper. Updated import of recipe from
meta-xilinx-bsp for the latest release, version 1.6.1.
Signed-off-by: Christopher Clark <christopher.clark@starlab.io>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-kernel/dtc')
| -rw-r--r-- | recipes-kernel/dtc/python3-dtc_1.6.1.bb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes-kernel/dtc/python3-dtc_1.6.1.bb b/recipes-kernel/dtc/python3-dtc_1.6.1.bb new file mode 100644 index 00000000..90889314 --- /dev/null +++ b/recipes-kernel/dtc/python3-dtc_1.6.1.bb | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | SUMMARY = "Python Library for the Device Tree Compiler" | ||
| 2 | HOMEPAGE = "https://devicetree.org/" | ||
| 3 | DESCRIPTION = "A python library for the Device Tree Compiler, a tool used to manipulate Device Tree files which contain a data structure for describing hardware." | ||
| 4 | SECTION = "bootloader" | ||
| 5 | LICENSE = "GPLv2 | BSD" | ||
| 6 | |||
| 7 | DEPENDS = "flex-native bison-native swig-native libyaml dtc" | ||
| 8 | |||
| 9 | SRC_URI = "git://git.kernel.org/pub/scm/utils/dtc/dtc.git" | ||
| 10 | |||
| 11 | UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)" | ||
| 12 | |||
| 13 | LIC_FILES_CHKSUM = "file://pylibfdt/libfdt.i;beginline=1;endline=6;md5=afda088c974174a29108c8d80b5dce90" | ||
| 14 | |||
| 15 | SRCREV = "ecaeb97fec013973360e94888a7de645f084345c" | ||
| 16 | |||
| 17 | S = "${WORKDIR}/git" | ||
| 18 | |||
| 19 | inherit distutils3 | ||
| 20 | |||
| 21 | DISTUTILS_SETUP_PATH = "${S}/pylibfdt" | ||
| 22 | |||
| 23 | do_configure_prepend() { | ||
| 24 | oe_runmake -C "${S}" version_gen.h | ||
| 25 | mv "${S}/version_gen.h" "${DISTUTILS_SETUP_PATH}/" | ||
| 26 | } | ||
| 27 | |||
| 28 | BBCLASSEXTEND = "native nativesdk" | ||
