summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/dtc/python3-dtc_1.6.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/dtc/python3-dtc_1.6.1.bb')
-rw-r--r--recipes-kernel/dtc/python3-dtc_1.6.1.bb28
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 @@
1SUMMARY = "Python Library for the Device Tree Compiler"
2HOMEPAGE = "https://devicetree.org/"
3DESCRIPTION = "A python library for the Device Tree Compiler, a tool used to manipulate Device Tree files which contain a data structure for describing hardware."
4SECTION = "bootloader"
5LICENSE = "GPLv2 | BSD"
6
7DEPENDS = "flex-native bison-native swig-native libyaml dtc"
8
9SRC_URI = "git://git.kernel.org/pub/scm/utils/dtc/dtc.git"
10
11UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
12
13LIC_FILES_CHKSUM = "file://pylibfdt/libfdt.i;beginline=1;endline=6;md5=afda088c974174a29108c8d80b5dce90"
14
15SRCREV = "ecaeb97fec013973360e94888a7de645f084345c"
16
17S = "${WORKDIR}/git"
18
19inherit distutils3
20
21DISTUTILS_SETUP_PATH = "${S}/pylibfdt"
22
23do_configure_prepend() {
24 oe_runmake -C "${S}" version_gen.h
25 mv "${S}/version_gen.h" "${DISTUTILS_SETUP_PATH}/"
26}
27
28BBCLASSEXTEND = "native nativesdk"