[meta-rockchip][PATCH 0/3] rkbin: convert LICENSE to SPDX expressions

[email protected] Wed, 05 Aug 2026 12:13:39 +0000
Newsgroups org.yoctoproject.lists.yocto-patches
Message-ID <[email protected]>
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--------76fe4b33da3334a33bc0b478ad5dc9710c7d458c0c7a71b7760f03128acd87bc
Content-Type: text/plain; charset=UTF-8
From: [email protected]
To: [email protected]
Cc: Trevor Woerner <[email protected]>,
	Martin Herren <[email protected]>
Subject: [meta-rockchip][PATCH 0/3] rkbin: convert LICENSE to SPDX expressions
Date: Wed,  5 Aug 2026 14:13:24 +0200
Message-ID: <[email protected]>
X-Mailer: git-send-email 2.55.0
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable

From: Martin Herren <[email protected]>

This series fixes the legacy/CLOSED LICENSE warnings coming from the
rkbin recipes by OE-Core commit e9d424738d6f ("classes/conf/lib: Parse
LICENSE as SPDX Expression"):

  https://git.openembedded.org/openembedded-core/commit/?id=3De9d424738d6=
f8411d4e745b7d872a00e10bb14ac

Patches 1 and 2 switch the rkbin family (rockchip-rkbin.inc, used by
-ddr, -optee-os and -tf-a) and its native variant from "Proprietary" to
a recipe-specific LicenseRef-Rockchip-rkbin backed by NO_GENERIC_LICENSE,
so the SPDX manifest references the real Rockchip LICENSE rather than
the generic one-line stub.

Patch 3 switches rk3308-rkbin from "CLOSED" to
"LicenseRef-rk3308-rkbin-CLOSED" + NO_GENERIC_LICENSE[...]=3DREADME.

rk3308-rkbin pins an older rkbin revision whose tree ships no LICENSE
file, which is why it used CLOSED and only pointed to the README.

A potential cleaner fix could be to reuse the current repo's LICENSE.
The rk3308-rkbin SRCREV da
tes back to 2019-10-15 while the initial
LICENSE was only added 2023-07-26, which beside a typo and a
trailing newline is identical to the one used for the other rkbins
(updated 2024-10-17).
So that's an almost 4 year gap between the used SRCREV and where the
LICENSE was introduced.
So this would probably require legal validation from Rochchip's side
whether it applies retroactively as well.
This option would require adding a static LICENSE file to the recipe.

Martin Herren (3):
  bsp: rkbin: use SPDX LicenseRef for Rockchip proprietary firmware
  bsp: rkbin-native: use SPDX LicenseRef for Rockchip proprietary
    firmware
  bsp: rkbin: rk3308-rkbin: replace deprecated CLOSED license with a
    LicenseRef

 recipes-bsp/rkbin/rk3308-rkbin_git.bb          | 3 ++-
 recipes-bsp/rkbin/rockchip-rkbin-native_git.bb | 3 ++-
 recipes-bsp/rkbin/rockchip-rkbin.inc           | 3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)


--------76fe4b33da3334a33bc0b478ad5dc9710c7d458c0c7a71b7760f03128acd87bc
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: ProtonMail

wqsEARYIAF0FgmpzKPIJEIiu+thqKlAPNRQAAAAAABwAEHNhbHRAbm90YXRp
b25zLm9wZW5wZ3Bqcy5vcme8iq46wHmhNHH+NddSxrNkFiEEJgeVlthQxcLg
gu1biK762GoqUA8AAGlXAQCH+VW2YPWGBipLLvZwBG2Y+CmihbeRXMG5r8TS
qQ8GKgD/R6AVtks9aGOXF1HS8S2THYmU7rhZcChoqahMezRkcAU=
=ekI6
-----END PGP SIGNATURE-----


--------76fe4b33da3334a33bc0b478ad5dc9710c7d458c0c7a71b7760f03128acd87bc--