aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel/dtc/python3-dtc_1.6.1.bb
AgeCommit message (Collapse)Author
2023-08-01python3-dtc: drop recipeBruce Ashfield
oe-core commit 123077ecd9f3c1839d [python3-dtc: add from meta-virtualization] brings this recipe into core, so we drop our version. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-03-02python3-dtc: fix missing files in sysrootRoss Burton
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>
2022-03-02python3-dtc: fix wheel buildTim Orling
The wheel that is built is ${S}/dist/libfdt-1.6.2.dev39+g4048aed.d20220103-cp310-cp310-linux_x86_64.whl Set PYPA_WHEEL to match this. Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-02-18global: update licence values to SPDX valuesBruce Ashfield
These changes are the result of running the convert-spdx-licenses.py oe-core script. There's no impact to the build, but we will avoid issues when interacting with core QA by the alignment. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-01-19python3-dtc: add SRCPV and fix missing symbolBruce Ashfield
We need some of the latest dtc functionality for lopper, but that puts us out of sync with the main dtc recipe in oe-core master. To show that we are running ahead, bumping the PV to include SRCPV. To fix the following missing symbol: | ImportError: qemuarm64-poky-linux/xen-image-minimal/1.0-r0/recipe-sysroot-native/usr/lib/python3.10/site-packages/_libfdt.cpython-310-x86_64-linux-gnu.so: undefined symbol: fdt_overlay_target_offset We revert the commit that introduces it (since we don't need that functionality), and will drop our revert when oe-core updates to a similar version. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-01-18python3-dtc: update to version v1.6.1-39-g4048aedBruce Ashfield
As part of this update: - we drop our backported patches - simplify the recipe to use setuptools-scm - remove the need to generate version_gen.h - adapt to setup.py at ${S} - and include following commits: 4048aed setup.py: fix out of tree build ff5afb9 Handle integer overflow in check_property_phandle_args() ca72944 README: Explain how to add a new API function c0c2e11 Fix a UB when fdt_get_string return null cd5f69c tests: setprop_inplace: use xstrdup instead of unchecked strdup a04f690 pylibfdt: add Property.as_*int*_array() 8310271 pylibfdt: add Property.as_stringlist() d152126 Fix Python crash on getprop deallocation 17739b7 Support 'r' format for printing raw bytes with fdtget 45f3d1a libfdt: overlay: make overlay_get_target() public c19a4ba libfdt: fix an incorrect integer promotion 1cc41b1 pylibfdt: Add packaging metadata db72398 README: Update pylibfdt install instructions 383e148 pylibfdt: fix with Python 3.10 23b56cb pylibfdt: Move setup.py to the top level 69a7607 pylibfdt: Split setup.py author name and email 0b106a7 pylibfdt: Use setuptools_scm for the version c691776 pylibfdt: Use setuptools instead of distutils 5216f3f libfdt: Add static lib to meson build 4eda259 CI: Cirrus: bump used FreeBSD from 12.1 to 13.0 0a3a9d3 checks: Add an interrupt-map check 8fd2474 checks: Ensure '#interrupt-cells' only exists in interrupt providers d8d1a9a checks: Drop interrupt provider '#address-cells' check 52a16fd checks: Make interrupt_provider check dependent on interrupts_extended_is_cell 37fd700 treesource: Maintain phandle label/path on output e33ce1d flattree: Use '\n', not ';' to separate asm pseudo-ops d24cc18 asm: Use assembler macros instead of cpp macros ff3a30c asm: Use .asciz and .ascii instead of .string 5eb5927 fdtdump: fix -Werror=int-to-pointer-cast 0869f82 libfdt: Add ALIGNMENT error string 69595a1 checks: Fix bus-range check 72d09e2 Makefile: add -Wsign-compare to warning options b587787 checks: Fix signedness comparisons warnings 69bed6c dtc: Wrap phandle validity check 9102211 fdtget: Fix signedness comparisons warnings d966f08 tests: Fix signedness comparisons warnings ecfb438 dtc: Fix signedness comparisons warnings: pointer diff 5bec74a dtc: Fix signedness comparisons warnings: reservednum 24e7f51 fdtdump: Fix signedness comparisons warnings b6910be Bump version to v1.6.1 Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-01-17python3-dtc: fix packaging by using setuptoolsRoss Burton
Inheriting setuptools3-base doesn't actually define any tasks, so commit 1ef6050 to drop distutils3 had the side-effect of not building any code. Backport a commit from upstream to switch to setuptools, inherit setuptool3, and change DISTUTILS_SETUP_PATH to SETUPTOOLS_SETUP_PATH. Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-01-13python3-dtc: drop distutils3 usageBruce Ashfield
distutils is depreciated, so we switch to setuptools3-base to avoid the OE core warning. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-11-11python3-dtc: port to Python 3.10Ross Burton
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-11-02global: add explicit branch to all SRC_URIsBruce Ashfield
As introduced in the oe-core post: https://lists.openembedded.org/g/openembedded-core/message/157623 SRC_URIs without an explicit branch will generate warnings, and eventually be an error. We run the provided conversion script to make sure that meta-virt is ready for the change. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-09-16python3-dtc: update BSD License to more specific BSD-2-ClauseBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-08-02global: overrides conversion pass 2Bruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-07-29lopper, python-dtc: add new recipes for device tree toolsChristopher Clark
This device tree tooling is being added as a prequisite for enabling qemuboot with the Arm 64-bit version of the Xen hypervisor. lopper: a tool for performing operations on device tree files. A new recipe inspired by the original from meta-xilinx-bsp. python-dtc: a python library for the Device Tree compiler. This is a prerequisite for lopper. Updated import of recipe from meta-xilinx-bsp for the latest release, version 1.6.1. Signed-off-by: Christopher Clark <christopher.clark@starlab.io> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>