From: Joshua Watt Date: Tue, 7 Apr 2026 19:06:47 +0000 (-0600) Subject: libgcc: Fix license with libgcc-src X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=995ce6613cae3be4591d7f21e04885eeea87e084;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git libgcc: Fix license with libgcc-src 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 Signed-off-by: Richard Purdie --- 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 \