[OE-core] [PATCH] gcc-runtime.inc: set LICENSE for all gcc-runtime packages

Khem Raj raj.khem at gmail.com
Sat Mar 19 00:27:49 UTC 2016


> On Mar 18, 2016, at 6:13 AM, Andre McCurdy <armccurdy at gmail.com> wrote:
> 
> 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.
> 

this is ok

> Signed-off-by: Andre McCurdy <armccurdy at gmail.com>
> ---
> meta/recipes-devtools/gcc/gcc-runtime.inc | 9 ++++-----
> 1 file changed, 4 insertions(+), 5 deletions(-)
> 
> diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc
> index 572396d..8639c1c 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 = ""
> 
> --
> 1.9.1
> 
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160318/e66ea303/attachment-0002.sig>


More information about the Openembedded-core mailing list