diff options
author | Rob Herring <robh@kernel.org> | 2021-11-10 19:11:33 -0600 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2021-11-11 14:30:33 +1100 |
commit | 0b106a77dbdc34ef809526febafc490b90d79a54 (patch) | |
tree | 32479f675cf280596fb43e02080fc83a79b1a837 /pylibfdt/Makefile.pylibfdt | |
parent | c691776ddb26acbd3674722caafacaf7b6e3e807 (diff) | |
download | dtc-0b106a77dbdc34ef809526febafc490b90d79a54.zip dtc-0b106a77dbdc34ef809526febafc490b90d79a54.tar.gz dtc-0b106a77dbdc34ef809526febafc490b90d79a54.tar.bz2 |
pylibfdt: Use setuptools_scm for the version
The DTC version in version_gen.h causes a warning with setuptools:
setuptools/dist.py:501: UserWarning: The version specified ('1.6.1-g5454474d') \
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.
It also creates an unnecessary dependency on the rest of the build
system(s). Switch to use setuptools_scm instead to get the version for
pylibfdt.
Signed-off-by: Rob Herring <robh@kernel.org>
Message-Id: <20211111011135.2386773-3-robh@kernel.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'pylibfdt/Makefile.pylibfdt')
-rw-r--r-- | pylibfdt/Makefile.pylibfdt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pylibfdt/Makefile.pylibfdt b/pylibfdt/Makefile.pylibfdt index 1b5f236..015a05e 100644 --- a/pylibfdt/Makefile.pylibfdt +++ b/pylibfdt/Makefile.pylibfdt @@ -16,7 +16,7 @@ ifndef V SETUPFLAGS += --quiet endif -$(PYMODULE): $(PYLIBFDT_srcs) $(LIBFDT_archive) $(SETUP) $(VERSION_FILE) +$(PYMODULE): $(PYLIBFDT_srcs) $(LIBFDT_archive) $(SETUP) @$(VECHO) PYMOD $@ $(PYTHON) $(SETUP) $(SETUPFLAGS) build_ext --build-lib=$(PYLIBFDT_dir) |