]> git.baikalelectronics.ru Git - uboot.git/commit
fdt: Move to setuptools
authorSimon Glass <sjg@chromium.org>
Sun, 31 Jul 2022 02:57:11 +0000 (20:57 -0600)
committerSimon Glass <sjg@chromium.org>
Sat, 29 Oct 2022 13:36:33 +0000 (07:36 -0600)
commitd6b255fe2f7386413721c75a3bd330b818482b9d
treec52361084761b2d12d16bdabb994dbfb166a4cbb
parent258c0eedd2ff77e6c478f564e2e662be7d756a9c
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>
scripts/dtc/README [new file with mode: 0644]
scripts/dtc/pylibfdt/Makefile
scripts/dtc/pylibfdt/setup.py