summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/lopper/lopper_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/lopper/lopper_git.bb')
-rw-r--r--recipes-kernel/lopper/lopper_git.bb31
1 files changed, 31 insertions, 0 deletions
diff --git a/recipes-kernel/lopper/lopper_git.bb b/recipes-kernel/lopper/lopper_git.bb
new file mode 100644
index 00000000..606dab64
--- /dev/null
+++ b/recipes-kernel/lopper/lopper_git.bb
@@ -0,0 +1,31 @@
1SUMMARY = "Device Tree Lopper"
2DESCRIPTION = "Tool for manipulation of system device tree files"
3LICENSE = "BSD-3-Clause"
4SECTION = "bootloader"
5
6SRC_URI = "git://github.com/devicetree-org/lopper.git;branch=master;protocol=https"
7SRCREV = "3c81fcce08eeb64cbbde1535abd83572985a8689"
8S = "${WORKDIR}/git"
9
10PV="v1.0+git${SRCPV}"
11
12LIC_FILES_CHKSUM = "file://LICENSE.md;md5=8e5f5f691f01c9fdfa7a7f2d535be619"
13
14RDEPENDS:${PN} = " \
15 python3-core \
16 python3-dtc \
17 python3-humanfriendly \
18 "
19
20inherit setuptools3
21
22INHIBIT_PACKAGE_STRIP = "1"
23
24do_install:append() {
25 # we have to remove the vendor'd libfdt, since an attempt to strip it
26 # will be made, and it will fail in a cross environment.
27 rm -rf ${D}/${PYTHON_SITEPACKAGES_DIR}/${BPN}/vendor
28}
29
30BBCLASSEXTEND = "native nativesdk"
31