]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
pylibfdt: correct license information (further)
authorQuentin Schulz <quentin.schulz@cherry.de>
Tue, 10 Jun 2025 13:17:56 +0000 (15:17 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 26 Jun 2025 18:10:58 +0000 (12:10 -0600)
Since commit 51ec8db23280 ("pylibfdt: correct license information"), the
License classifiers are gone so I assume setuptools now extract the
license from the license argument to setuptools.setup() function.

It's always been incorrect as far as I could tell, so let's fix this
with the appropriate info from the SPDX License identifier at the top of
the file. It was missing GPL-2.0-or-later and we disambiguate by using
BSD-2-Clause instead of simply BSD.

Fixes: 6b08fb5cc44f ("fdt: Move to setuptools")
Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
scripts/dtc/pylibfdt/setup.py

index 487e669f524ad1d2b5e6549a2e3ee18968757da2..0f7485de9b50ba9ab9d2756f6588377de2722467 100755 (executable)
@@ -157,7 +157,7 @@ setup(
     long_description=long_description,
     long_description_content_type="text/plain",
     url="https://git.kernel.org/pub/scm/utils/dtc/dtc.git",
-    license="BSD",
+    license="GPL-2.0-or-later OR BSD-2-Clause",
     license_files=["Licenses/gpl-2.0.txt", "Licenses/bsd-2-clause.txt"],
 
     classifiers=[