]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
gcc-sanitizers: fix licensing
authorDan McGregor <dan.mcgregor@usask.ca>
Fri, 23 Jan 2015 19:05:15 +0000 (13:05 -0600)
committerDan McGregor <dan.mcgregor@usask.ca>
Thu, 5 Feb 2015 14:51:15 +0000 (08:51 -0600)
The sanitizer runtime library is dual-licensed under the NCSA
and MIT licenses.

Also make nativesdk-gcc-sanitizers use SDKGCCVERSION by default
instead of GCCVERSION

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/conf/distro/include/tcmode-default.inc
meta/recipes-devtools/gcc/gcc-sanitizers.inc

index 63a512d7ec5d85bc707af339db779e3232d7f1ad..0e525a558a2d6756f5f50d76a37b3d062cb3248e 100644 (file)
@@ -39,7 +39,7 @@ PREFERRED_VERSION_gcc-runtime ?= "${GCCVERSION}"
 PREFERRED_VERSION_gcc-sanitizers ?= "${GCCVERSION}"
 PREFERRED_VERSION_gcc-source ?= "${GCCVERSION}"
 PREFERRED_VERSION_nativesdk-gcc-runtime ?= "${SDKGCCVERSION}"
-PREFERRED_VERSION_nativesdk-gcc-sanitizers ?= "${GCCVERSION}"
+PREFERRED_VERSION_nativesdk-gcc-sanitizers ?= "${SDKGCCVERSION}"
 PREFERRED_VERSION_libgcc ?= "${GCCVERSION}"
 PREFERRED_VERSION_libgcc-initial ?= "${GCCVERSION}"
 PREFERRED_VERSION_nativesdk-libgcc ?= "${SDKGCCVERSION}"
index 892dfe0476d2b5d8bfee2983a64fc3d661b7ccc0..35c9247cc101bb1d2c65bd8de2312ae00c2434b8 100644 (file)
@@ -1,5 +1,11 @@
 require gcc-configure-common.inc
 
+LICENSE = "NCSA | MIT"
+
+LIC_FILES_CHKSUM = "\
+    file://libsanitizer/LICENSE.TXT;md5=0249c37748936faf5b1efd5789587909 \
+"
+
 EXTRA_OECONF_PATHS = "\
     --with-sysroot=/not/exist \
     --with-build-sysroot=${STAGING_DIR_TARGET} \