diff mbox series

libgcc: Fix license with libgcc-src

Message ID 20260407190647.840624-1-JPEWhacker@gmail.com
State Accepted, archived
Commit 995ce6613cae3be4591d7f21e04885eeea87e084
Headers show
Series libgcc: Fix license with libgcc-src | expand

Commit Message

Joshua Watt April 7, 2026, 7:06 p.m. UTC
Sets the correct license for the libgcc-src package. Note that even
though the package is not in PACKAGES, it is implicitly added when
PACKAGE_DEBUG_SPLIT_STYLE is  "debug-with-srcpkg" (the default). This
was likely not noticed sooner because the fix to allow the code to
detect this was relatively recent in 1816c5a5e7 ("lib/package: Check
incompatible licenses at packaging time")

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
---
 meta/recipes-devtools/gcc/libgcc.inc | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/meta/recipes-devtools/gcc/libgcc.inc b/meta/recipes-devtools/gcc/libgcc.inc
index a3f0f947f7..74e8746b42 100644
--- a/meta/recipes-devtools/gcc/libgcc.inc
+++ b/meta/recipes-devtools/gcc/libgcc.inc
@@ -35,6 +35,7 @@  PACKAGES = "\
 LICENSE:${PN} = "GPL-3.0-with-GCC-exception"
 LICENSE:${PN}-dev = "GPL-3.0-with-GCC-exception"
 LICENSE:${PN}-dbg = "GPL-3.0-with-GCC-exception"
+LICENSE:${PN}-src = "GPL-3.0-with-GCC-exception"
 
 FILES:${PN}-dev = "\
     ${base_libdir}/libgcc*.so \