From fcfc5729470e3a3f3a7a304244ff6fad00ca058f Mon Sep 17 00:00:00 2001 From: Yu-Ping Wu Date: Thu, 14 Jul 2022 11:02:33 +0800 Subject: util/xcompile/xcompile: Define GCOV_${TARCH} When payloads analyze the coverage using gcov (or lcov), the gcov version must match the CC version. Otherwise gcov would fail to parse the .gcno files. Therefore, define GCOV_${TARCH} in xcompile, so that payloads don't need to do tedious string manipulations to find the right gcov path. Change-Id: If2fc329810c463a3d2c56deaf4e4a3fc3c0a3ed9 Signed-off-by: Yu-Ping Wu Reviewed-on: https://review.coreboot.org/c/coreboot/+/65840 Tested-by: build bot (Jenkins) Reviewed-by: Julius Werner Reviewed-by: Patrick Georgi --- util/xcompile/xcompile | 1 + 1 file changed, 1 insertion(+) (limited to 'util/xcompile') diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile index e5e8098159a2..e13996f6b179 100755 --- a/util/xcompile/xcompile +++ b/util/xcompile/xcompile @@ -285,6 +285,7 @@ cat <