diff options
author | Michal Suchanek <msuchanek@suse.de> | 2022-10-13 22:39:51 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2023-12-11 11:06:48 +0100 |
commit | 7d40e125da42d412af33dde7eb787fee19cb5be9 (patch) | |
tree | 93b9dcfc68aed26380d53e1a00c1865746dfab52 | |
parent | 4f3579707e340b61c631b0aca00fc93e6283037f (diff) |
libfdt: Fix invalid version warning
python does not like the u-boot- prefix in the version, drop it.
/usr/lib/python3.10/site-packages/setuptools/dist.py:544: UserWarning:
The version specified ('u-boot-2022.10') is an invalid version, this may
not work as expected with newer versions of setuptools, pip, and PyPI.
Please see PEP 440 for more details.
Signed-off-by: Michal Suchanek <msuchanek@suse.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Upstream-Status: Backport [c977b184350479b8c43a0e002eaf2b13b510ba4f]
The update of python setuptools from 68.2.2 to 69.0.2 in current OE
master now fails the build without this fix.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
-rw-r--r-- | scripts/dtc/pylibfdt/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/dtc/pylibfdt/Makefile b/scripts/dtc/pylibfdt/Makefile index 493995e303..a7579f0c5f 100644 --- a/scripts/dtc/pylibfdt/Makefile +++ b/scripts/dtc/pylibfdt/Makefile @@ -17,7 +17,7 @@ quiet_cmd_pymod = PYMOD $@ cmd_pymod = unset CROSS_COMPILE; unset CFLAGS; \ CC="$(HOSTCC)" LDSHARED="$(HOSTCC) -shared " \ LDFLAGS="$(HOSTLDFLAGS)" \ - VERSION="u-boot-$(UBOOTVERSION)" \ + VERSION="$(UBOOTVERSION)" \ CPPFLAGS="$(HOSTCFLAGS) -I$(LIBFDT_srcdir)" OBJDIR=$(obj) \ SOURCES="$(PYLIBFDT_srcs)" \ SWIG_OPTS="-I$(LIBFDT_srcdir) -I$(LIBFDT_srcdir)/.." \ |