I'm not sure if you saw the old threads on this, but we went through this binding in detail in february:
See the series from TrevorW: [PATCH v3 1/4] dtc: version bump and add python wrapper The pypi releases of libfdt bindings are not kept in sync with the dtc releases and rarely update. Not that they change a lot, but that is still the case. The suggestion for the bindings is the same, they'd be better of built from dtc, versus using pypi. There may be some issues remaining with the build, as Trevor hasn't updated his series in a while now. Bruce On Wed, May 17, 2023 at 4:06 AM Bartosz Golaszewski <[email protected]> wrote: > > From: Bartosz Golaszewski <[email protected]> > > Add a recipe for python bindings for libfdt (spun out of upstream dtc) > fetched from pypi. > > Signed-off-by: Bartosz Golaszewski <[email protected]> > --- > .../python/python3-libfdt_1.7.0.post1.bb | 20 +++++++++++++++++++ > 1 file changed, 20 insertions(+) > create mode 100644 meta/recipes-devtools/python/python3-libfdt_1.7.0.post1.bb > > diff --git a/meta/recipes-devtools/python/python3-libfdt_1.7.0.post1.bb > b/meta/recipes-devtools/python/python3-libfdt_1.7.0.post1.bb > new file mode 100644 > index 0000000000..1ff3decbb9 > --- /dev/null > +++ b/meta/recipes-devtools/python/python3-libfdt_1.7.0.post1.bb > @@ -0,0 +1,20 @@ > +SUMMARY = "Python bindings for libfdt." > +LICENSE = "GPL-2.0-only | BSD-2-Clause" > +LIC_FILES_CHKSUM = " \ > + file://BSD-2-Clause;md5=5d6306d1b08f8df623178dfd81880927 \ > + file://GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ > +" > + > +inherit pypi setuptools3 > + > +PYPI_PACKAGE = "pylibfdt" > + > +SRC_URI[sha256sum] = > "2d048f9f8ce9a0527d497f423dea1f1135f9811c05b009cc5d5753771c1f9ba1" > + > +BBCLASSEXTEND = "native nativesdk" > + > +DEPENDS += " \ > + python3-pip-native \ > + python3-setuptools-scm-native \ > + swig-native \ > +" > -- > 2.39.2 > -- - Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#181497): https://lists.openembedded.org/g/openembedded-core/message/181497 Mute This Topic: https://lists.openembedded.org/mt/98944002/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
