summaryrefslogtreecommitdiff
path: root/scripts/dtc/pylibfdt/setup.py
diff options
context:
space:
mode:
authorQuentin Schulz <quentin.schulz@cherry.de>2025-06-10 15:17:56 +0200
committerTom Rini <trini@konsulko.com>2025-06-26 12:10:58 -0600
commit5f732b4bb0946b4d1a32add4ec5595eb9846cd26 (patch)
treeb62bc27d33eae8ed7899a22cce2d378da6d87501 /scripts/dtc/pylibfdt/setup.py
parent5ac65a48510281a5d1e2ec36f458188818f59b8b (diff)
pylibfdt: correct license information (further)
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>
Diffstat (limited to 'scripts/dtc/pylibfdt/setup.py')
-rwxr-xr-xscripts/dtc/pylibfdt/setup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/dtc/pylibfdt/setup.py b/scripts/dtc/pylibfdt/setup.py
index 487e669f524..0f7485de9b5 100755
--- a/scripts/dtc/pylibfdt/setup.py
+++ b/scripts/dtc/pylibfdt/setup.py
@@ -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=[