]> code.ossystems Code Review - openembedded-core.git/commitdiff
gcc-runtime.inc: set LICENSE for all gcc-runtime packages
authorAndre McCurdy <armccurdy@gmail.com>
Fri, 18 Mar 2016 13:13:26 +0000 (06:13 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 20 Mar 2016 22:57:58 +0000 (22:57 +0000)
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>
meta/recipes-devtools/gcc/gcc-runtime.inc

index 572396d6938812b36a0dcee83fa2731a12d1c1fd..8639c1c49ea64af624ad086982e83f5b37159831 100644 (file)
@@ -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 = ""