python-pyelftools: add pyelftools Python module
PATCH 1/2 python-pyelftools: add pyelftools Python module
https://github.com/eliben/pyelftools
pyelftools is a pure-Python library for parsing and analyzing ELF files and DWARF debugging information.
Signed-off-by Denys Dmytriyenko <[email protected]>
--- .../recipes-devtools/python/python-pyelftools.inc | 14 ++++++++++++++ .../python/python-pyelftools_0.25.bb | 2 ++ .../python/python3-pyelftools_0.25.bb | 2 ++ 3 files changed, 18 insertions(+) create mode 100644 meta-arago-extras/recipes-devtools/python/python-pyelftools.inc create mode 100644 meta-arago-extras/recipes-devtools/python/python-pyelftools_0.25.bb create mode 100644 meta-arago-extras/recipes-devtools/python/python3-pyelftools_0.25.bb
meta-arago-extras/recipes-devtools/python/python-pyelftools.inc new file +14 -0
@@ -0,0 +1,14 @@ +SUMMARY = "Parsing ELF and DWARF in Python" +DESCRIPTION = "Pure-Python library for parsing and analyzing ELF files and DWARF debugging information" +HOMEPAGE = "https://github.com/eliben/pyelftools" +LICENSE = "PD" +LIC_FILES_CHKSUM = "file://LICENSE;md5=5ce2a2b07fca326bc7c146d10105ccfc" + +PYPI_PACKAGE = "pyelftools" + +inherit pypi + +SRC_URI[md5sum] = "c5629b9a5d19c82107a946cce52eeec2" +SRC_URI[sha256sum] = "89c6da6f56280c37a5ff33468591ba9a124e17d71fe42de971818cbff46c1b24" + +BBCLASSEXTEND = "native nativesdk"
meta-arago-extras/recipes-devtools/python/python-pyelftools_0.25.bb new file +2 -0
@@ -0,0 +1,2 @@ +inherit setuptools +require python-pyelftools.inc
meta-arago-extras/recipes-devtools/python/python3-pyelftools_0.25.bb new file +2 -0
@@ -0,0 +1,2 @@ +inherit setuptools3 +require python-pyelftools.inc
Signature · 1 line
2.17.1
PATCH 2/2 optee-os: update to 3.6.0, depend on pyelftools
Signed-off-by Denys Dmytriyenko <[email protected]>
--- .../recipes-security/optee/optee-os_git.bbappend | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-)
meta-arago-distro/recipes-security/optee/optee-os_git.bbappend +7 -3
@@ -2,9 +2,13 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=c1f21c4f72f372ef38a5a4aee55ec173" -PR_append = ".arago2" +inherit python3native -PV = "3.5.0+git${SRCPV}" +DEPENDS += "python3-pyelftools-native" + +PR_append = ".arago0" + +PV = "3.6.0+git${SRCPV}" is_armv7 = "1" is_armv7_aarch64 = "0"
@@ -13,7 +17,7 @@ SRC_URI = "git://git.ti.com/optee/ti-optee-os.git;branch=${BRANCH} \ file://0001-allow-setting-sysroot-for-libgcc-lookup.patch \ " BRANCH = "ti-optee-os" -SRCREV = "3a513ceae7706834f9538219503848f40302ff6d" +SRCREV = "e5a8779a6ffa2aa7ad01aed43608bcb9321817c6" ARMCORE = "CFG_ARM32_core=y ta-targets=ta_arm32" ARMCORE_aarch64 = "CFG_ARM64_core=y ta-targets=ta_arm64"
Signature · 1 line
2.17.1