From: Andre McCurdy Date: Fri, 18 Mar 2016 13:13:26 +0000 (-0700) Subject: gcc-runtime.inc: set LICENSE for all gcc-runtime packages X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~26492 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9406a8ab8fd166b9d90b33b84b6d44f8672ab623;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Ross Burton --- diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc index 572396d6938..8639c1c49ea 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 = ""