Skip to contentSkip to conversation

gcc-runtime.inc: set LICENSE for all gcc-runtime packages

PATCH In review Andre McCurdy 2 participants 2 messages Mar 18, 2016 – Mar 19, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 meta/recipes-devtools/gcc/gcc-runtime.inc | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
meta/recipes-devtools/gcc/gcc-runtime.inc +4 -5
index 572396d..8639c1c 100644
@@ -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 = ""
 
Signature · 1 line
1.9.1
#1 lore raw
Quoted 7 lines · Andre McCurdy

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

Quoted 39 lines

---
meta/recipes-devtools/gcc/gcc-runtime.inc | 9 ++++-----

1 file changed, 4 insertions(+), 5 deletions(-)
meta/recipes-devtools/gcc/gcc-runtime.inc +0 -0
index 572396d..8639c1c 100644
@@ -1,5 +1,9 @@

require gcc-configure-common.inc

meta/recipes-devtools/gcc/gcc-runtime.inc +4 -0
+# 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 = "\

meta/recipes-devtools/gcc/gcc-runtime.inc +0 -0
@@ -109,11 +113,6 @@ PACKAGES = "\
    libitm-staticdev \

"

meta/recipes-devtools/gcc/gcc-runtime.inc +0 -5
-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
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core