From dd5ce3df8d8a77499fcd56405f711bc82030b9c8 Mon Sep 17 00:00:00 2001 From: Namhyung Kim Date: Fri, 10 Aug 2018 13:12:52 +0900 Subject: [PATCH] build: Check dependency with version Recently it changed to add dependency info to the version number. However the misc/version.sh script was not check it properly so it triggered build always. Signed-off-by: Namhyung Kim --- misc/version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/version.sh b/misc/version.sh index fb59011fd..0177e3bc1 100755 --- a/misc/version.sh +++ b/misc/version.sh @@ -42,7 +42,7 @@ if [ "x${DEPS}" != "x" ]; then DEPS=" (${DEPS} )" fi -if test -z "${FILE_VERSION}" -o "${CURR_VERSION}" != "${FILE_VERSION}"; then +if test -z "${FILE_VERSION}" -o "${CURR_VERSION}${DEPS}" != "${FILE_VERSION}"; then # update file version only if it's different echo "#define UFTRACE_VERSION \"${CURR_VERSION}${DEPS}\"" > ${VERSION_FILE} echo " GEN " ${VERSION_FILE#${objdir}/}