aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/libgcc.inc
diff options
context:
space:
mode:
authorJoe Slater <jslater@windriver.com>2014-12-16 14:55:20 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-12-19 17:54:14 +0000
commit5db535a91edea439c14e75726acd23e64bb1e2ea (patch)
tree8e2fd5c3d4515ea7ca70262513d8594846d247b9 /meta/recipes-devtools/gcc/libgcc.inc
parent87a25b1dec86da809c9a13c10449bd33a471cb95 (diff)
downloadopenembedded-core-contrib-5db535a91edea439c14e75726acd23e64bb1e2ea.tar.gz
gcc runtime: specify license on a per package basis
It can be alarming to attempt to exclude GPLv3 from an image but find that libstdc++ and libgcc still show it. We indicate the license for each package to show libraries that really are just GCC-3.0-with-GCC-exception. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools/gcc/libgcc.inc')
-rw-r--r--meta/recipes-devtools/gcc/libgcc.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/libgcc.inc b/meta/recipes-devtools/gcc/libgcc.inc
index 22c42d5eca..21cb8c1084 100644
--- a/meta/recipes-devtools/gcc/libgcc.inc
+++ b/meta/recipes-devtools/gcc/libgcc.inc
@@ -9,6 +9,13 @@ PACKAGES = "\
libgcov-dev \
"
+# All libgcc source is marked with the exception.
+#
+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"
+
+
FILES_${PN} = "${base_libdir}/libgcc*.so.*"
FILES_${PN}-dev = "\
${base_libdir}/libgcc*.so \