aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Siemsen <ralph.siemsen@linaro.org>2020-05-01 13:02:00 -0400
committerRalph Siemsen <ralph.siemsen@linaro.org>2020-06-02 13:49:39 -0400
commitda865512cde6542928d2fcead2cfe5b1b92b1920 (patch)
tree823845722122f9b710eec3b0e2dbe17e126d4602
parent5122de099c028b08db569451d5543a87e79af598 (diff)
gcc-arm-8.3.inc: fix version parsing in cve_checkwarrior
The "arm-" prefix on ${PV} produces warnings during cve_check, since the string "arm-8.3" cannot be sensibly compared against numeric "8.3", eg: WARNING: gcc-cross-arm-arm-8.3-r2019.03 do_cve_check: gcc: Failed to compare arm-8.3 < 10.0 for CVE-2019-15847 Similar fix has been made upstream in meta-arm-toolchain: https://git.yoctoproject.org/cgit/cgit.cgi/meta-arm/commit/meta-arm-toolchain/recipes-devtools/gcc?id=fdc51fe01ae50444c7608450ae10854d9768190a Change-Id: I4f4bf6ce755f1b4e69d4158875d5e4ba13de4133
-rw-r--r--meta-linaro-toolchain/recipes-devtools/gcc/gcc-arm-8.3.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-linaro-toolchain/recipes-devtools/gcc/gcc-arm-8.3.inc b/meta-linaro-toolchain/recipes-devtools/gcc/gcc-arm-8.3.inc
index 65eb0dfd..e38b4f02 100644
--- a/meta-linaro-toolchain/recipes-devtools/gcc/gcc-arm-8.3.inc
+++ b/meta-linaro-toolchain/recipes-devtools/gcc/gcc-arm-8.3.inc
@@ -3,6 +3,8 @@ require recipes-devtools/gcc/gcc-common.inc
BASEPV = "8.3"
PV = "arm-${BASEPV}"
+CVE_VERSION = "${BASEPV}"
+
MMYY = "19.03"
RELEASE = "20${MMYY}"
PR = "r${RELEASE}"