u-boot/scripts/dtc/pylibfdt
Simon Glass 6b08fb5cc4 fdt: Move to setuptools
The distutils package is deprecated. The upstream libfdt repo uses
setuptools for building the pylibfdt module, so bring in that code,
suitably modified for U-Boot. Also bring in the README.

The modifications include setting the version correctly, making use of
the environment variables provided by the Makefile and various tweaks
to the directories.

Note that the version omits the minus character at the start of
EXTRAVERSION, since this creates a warning. The build is really just used
within U-Boot itself, so it doesn't matter too much if the version matches
upstream, or exactly matches U-Boot.

Signed-off-by: Simon Glass <sjg@chromium.org>
2022-10-29 07:36:33 -06:00
..
.gitignore scripts: dtc: ignore files generated generated by python 2019-11-23 14:53:48 -05:00
libfdt.i_shipped libfdt: Fix build with python 3.10 2022-10-29 07:36:33 -06:00
Makefile fdt: Move to setuptools 2022-10-29 07:36:33 -06:00
setup.py fdt: Move to setuptools 2022-10-29 07:36:33 -06:00