summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/gcc
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2016-03-18 06:13:26 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-20 22:57:58 +0000
commit9406a8ab8fd166b9d90b33b84b6d44f8672ab623 (patch)
tree6d42ecf312cc87426d0acf1bf43a199a6e200c8f /meta/recipes-devtools/gcc
parent02596f8d3b3cd8fe8849e627f65e6803f16d204f (diff)
downloadopenembedded-core-9406a8ab8fd166b9d90b33b84b6d44f8672ab623.tar.gz
openembedded-core-9406a8ab8fd166b9d90b33b84b6d44f8672ab623.tar.bz2
openembedded-core-9406a8ab8fd166b9d90b33b84b6d44f8672ab623.zip
gcc-runtime.inc: set LICENSE for all gcc-runtime packages
LICENSE_${PN} doesn't apply to all gcc-runtime packages. Set LICENSE instead. Without this fix, gcc-runtime packages such as libstdc++ are excluded from rootfs for builds which blacklist GPLv3. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools/gcc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-runtime.inc9
1 files changed, 4 insertions, 5 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc
index 572396d693..8639c1c49e 100644
--- a/meta/recipes-devtools/gcc/gcc-runtime.inc
+++ b/meta/recipes-devtools/gcc/gcc-runtime.inc
@@ -1,5 +1,9 @@
require gcc-configure-common.inc
+# Over-ride the LICENSE set by gcc-${PV}.inc to remove "& GPLv3"
+# All gcc-runtime packages are now covered by the runtime exception.
+LICENSE = "GPL-3.0-with-GCC-exception"
+
CXXFLAGS_remove = "-fvisibility-inlines-hidden"
EXTRA_OECONF_PATHS = "\
@@ -109,11 +113,6 @@ PACKAGES = "\
libitm-staticdev \
"
-LICENSE_${PN}-dbg = "GPL-3.0-with-GCC-exception"
-LICENSE_${PN} = "GPL-3.0-with-GCC-exception"
-LICENSE_${PN}-dev = "GPL-3.0-with-GCC-exception"
-LICENSE_${PN}-staticdev = "GPL-3.0-with-GCC-exception"
-
# The base package doesn't exist, so we clear the recommends.
RRECOMMENDS_${PN}-dbg = ""