]> git.dujemihanovic.xyz Git - u-boot.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)
commit6b08fb5cc44f8d32260a17a4f04c5bfa8dd5f18f
treec52361084761b2d12d16bdabb994dbfb166a4cbb
parent529b2c2d9c757b3ed7d898c90ab7611f1b0c9d0f
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