From 5de4a09756e595c981cbe8fe623e5f3dd35a205f Mon Sep 17 00:00:00 2001 From: Marc Herbert Date: Fri, 14 Jan 2022 05:25:14 +0000 Subject: [PATCH] version.cmake: include scripts/ and zephyr/ in the .ldc dictionary hash scripts/ has kconfig defaults and CMake code that can affect the dictionary. Note this does not fix #3890 because .config (and maybe others) are still not hashed but it helps a bit. Signed-off-by: Marc Herbert --- scripts/cmake/version.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/cmake/version.cmake b/scripts/cmake/version.cmake index 08d624d12..731019888 100644 --- a/scripts/cmake/version.cmake +++ b/scripts/cmake/version.cmake @@ -90,7 +90,7 @@ if(EXISTS ${SOF_ROOT_SOURCE_DIRECTORY}/.git/) set(SOURCE_HASH_DIR "${SOF_ROOT_BINARY_DIRECTORY}/source_hash") file(MAKE_DIRECTORY ${SOURCE_HASH_DIR}) # list tracked files from src directory - execute_process(COMMAND git ls-files src + execute_process(COMMAND git ls-files src/ scripts/ zephyr/ WORKING_DIRECTORY ${SOF_ROOT_SOURCE_DIRECTORY} OUTPUT_FILE "${SOURCE_HASH_DIR}/tracked_file_list" )