* [PATCH] gcc-runtime.inc: set LICENSE for all gcc-runtime packages
@ 2016-03-18 13:13 Andre McCurdy
2016-03-19 0:27 ` Khem Raj
0 siblings, 1 reply; 2+ messages in thread
From: Andre McCurdy @ 2016-03-18 13:13 UTC (permalink / raw)
To: openembedded-core
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>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] gcc-runtime.inc: set LICENSE for all gcc-runtime packages
2016-03-18 13:13 [PATCH] gcc-runtime.inc: set LICENSE for all gcc-runtime packages Andre McCurdy
@ 2016-03-19 0:27 ` Khem Raj
0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2016-03-19 0:27 UTC (permalink / raw)
To: Andre McCurdy; +Cc: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 1662 bytes --]
> On Mar 18, 2016, at 6:13 AM, Andre McCurdy <armccurdy@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@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@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 211 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-03-19 0:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-18 13:13 [PATCH] gcc-runtime.inc: set LICENSE for all gcc-runtime packages Andre McCurdy
2016-03-19 0:27 ` Khem Raj
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.