From ab86eb73edf54668e619f000a0029cd364be96cb Mon Sep 17 00:00:00 2001 From: SanjayKumar J Date: Mon, 19 Jan 2009 22:09:18 +0530 Subject: [PATCH] bti: incorrect version fix bti_version.h is not getting updated properly which results in incorrect version name. This bug happens only if the previous build is not cleaned and the files are updated to newer version. This following patch fixes the issue [not sure is the right way to do it] by making the bti_version.h file depends on Makefile since the version details are added to Makefile I have tested this patch with different versions of bti and are working fine Signed-off-by: SanjayKumar J --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 233782e..85191b3 100644 --- a/Makefile +++ b/Makefile @@ -75,7 +75,7 @@ bti: %: $(HEADERS) $(GEN_HEADERS) $(CORE_OBJS) $(Q) $(CC) -c $(CFLAGS) $< -o $@ -bti_version.h: +bti_version.h: Makefile $(E) " GENHDR " $@ $(Q) echo "/* Generated by make. */" > $@ $(Q) echo \#define BTI_VERSION \"$(VERSION)\" >> $@ -- 2.39.5