From 2872a8ea620343cb19d5ff500fdebb63eaef4229 Mon Sep 17 00:00:00 2001 From: Christopher Obbard Date: Tue, 4 Feb 2025 20:23:28 +0000 Subject: [PATCH] Fix version.h generation Currently the build fails when parallelised with: make[1]: *** No rule to make target 'version.h', needed by 'util.o'. Stop. Fix the name of the Makefile dependency to fix the build error. Fixes: https://github.com/linux-msm/qdl/issues/91 Closes: https://github.com/linux-msm/qdl/pull/92 Signed-off-by: Christopher Obbard --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5983ef8..3c584c7 100644 --- a/Makefile +++ b/Makefile @@ -34,7 +34,7 @@ versionfile: @echo "#define VERSION \"$(GITREF)\"" > .version.h @cmp -s .version.h version.h || cp .version.h version.h -util.o: version.h +util.o: versionfile clean: rm -f $(QDL) $(QDL_OBJS)