mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00

There is a bug in SWIG/setuptools where 'pip install' doesn't build libfdt.py unless the build tree is already dirty, which makes using the library impossible. Bump the SRCREV to incorporate the upstream workaround for this issue. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
27 lines
954 B
BlitzBasic
27 lines
954 B
BlitzBasic
SUMMARY = "Python Library for the Device Tree Compiler"
|
|
HOMEPAGE = "https://devicetree.org/"
|
|
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."
|
|
SECTION = "bootloader"
|
|
LICENSE = "GPL-2.0-only | BSD-2-Clause"
|
|
|
|
DEPENDS = "flex-native bison-native swig-native python3-setuptools-scm-native libyaml dtc"
|
|
|
|
SRC_URI = "git://git.kernel.org/pub/scm/utils/dtc/dtc.git;branch=master \
|
|
file://0001-Revert-libfdt-overlay-make-overlay_get_target-public.patch \
|
|
"
|
|
|
|
UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
|
|
|
|
LIC_FILES_CHKSUM = "file://pylibfdt/libfdt.i;beginline=1;endline=6;md5=afda088c974174a29108c8d80b5dce90"
|
|
|
|
SRCREV = "c001fc01a43e7a06447c06ea3d50bd60641322b8"
|
|
|
|
PV = "1.6.1+git${SRCPV}"
|
|
S = "${WORKDIR}/git"
|
|
|
|
PYPA_WHEEL = "${S}/dist/libfdt-1.6.2*.whl"
|
|
|
|
inherit setuptools3 pkgconfig
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|