]> code.ossystems Code Review - openembedded-core.git/commitdiff
gcc-sanitizers: fix licensing
authorDan McGregor <dan.mcgregor@usask.ca>
Fri, 23 Jan 2015 19:05:15 +0000 (13:05 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 28 Jan 2015 21:23:02 +0000 (21:23 +0000)
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 ae6aaf3c5da67ef5b779598e72ec1f5866bfe6f5..7428aa99ff653639c0e16005c6529c7a814ba932 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} \