diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2016-03-18 06:13:26 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-03-20 23:12:29 +0000 |
commit | 068e89800140c796234503e801abc54c228e6da7 (patch) | |
tree | 47779c33daa3c4ff2dbe465ae076a9f0a6e83a3b /meta/recipes-devtools/gcc | |
parent | 788dfdd550c88827484dcdb73a89c975543492eb (diff) | |
download | poky-068e89800140c796234503e801abc54c228e6da7.tar.gz |
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.
(From OE-Core rev: 9406a8ab8fd166b9d90b33b84b6d44f8672ab623)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-runtime.inc | 9 |
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 @@ | |||
1 | require gcc-configure-common.inc | 1 | require gcc-configure-common.inc |
2 | 2 | ||
3 | # Over-ride the LICENSE set by gcc-${PV}.inc to remove "& GPLv3" | ||
4 | # All gcc-runtime packages are now covered by the runtime exception. | ||
5 | LICENSE = "GPL-3.0-with-GCC-exception" | ||
6 | |||
3 | CXXFLAGS_remove = "-fvisibility-inlines-hidden" | 7 | CXXFLAGS_remove = "-fvisibility-inlines-hidden" |
4 | 8 | ||
5 | EXTRA_OECONF_PATHS = "\ | 9 | EXTRA_OECONF_PATHS = "\ |
@@ -109,11 +113,6 @@ PACKAGES = "\ | |||
109 | libitm-staticdev \ | 113 | libitm-staticdev \ |
110 | " | 114 | " |
111 | 115 | ||
112 | LICENSE_${PN}-dbg = "GPL-3.0-with-GCC-exception" | ||
113 | LICENSE_${PN} = "GPL-3.0-with-GCC-exception" | ||
114 | LICENSE_${PN}-dev = "GPL-3.0-with-GCC-exception" | ||
115 | LICENSE_${PN}-staticdev = "GPL-3.0-with-GCC-exception" | ||
116 | |||
117 | # The base package doesn't exist, so we clear the recommends. | 116 | # The base package doesn't exist, so we clear the recommends. |
118 | RRECOMMENDS_${PN}-dbg = "" | 117 | RRECOMMENDS_${PN}-dbg = "" |
119 | 118 | ||