mbox series

[0/2] spdx-common: Documentation and extensibility improvements

Message ID 20260221042530.318125-1-stondo@gmail.com
Headers show
Series spdx-common: Documentation and extensibility improvements | expand

Message

Stefano Tondo Feb. 21, 2026, 4:25 a.m. UTC
From: Stefano Tondo <stefano.tondo.ext@siemens.com>

This small series improves documentation and extensibility for SPDX
configuration variables in spdx-common.bbclass.

Patch 1: Clarify SPDX_NAMESPACE_PREFIX documentation to recommend
organization-specific namespace prefixes, similar to SPDX_UUID_NAMESPACE.

Patch 2: Make SPDX_LICENSES extensible by supporting a list of license
files. This allows layers to add custom license definitions without
copying the entire oe-core license file. Also improves documentation
for when SPDX_LICENSES needs to be set (non-oe-core licenses).

Stefano Tondo (2):
  spdx-common: Add documentation for undocumented SPDX variables
  spdx-common: Clarify documentation and make SPDX_LICENSES extensible

 meta/classes/spdx-common.bbclass | 31 +++++++++++++++++++++++++++++++
 meta/lib/oe/spdx_common.py       | 31 +++++++++++++++++++++++++++----
 2 files changed, 58 insertions(+), 4 deletions(-)