From: Stefano Babic Date: Mon, 18 Feb 2008 07:03:51 +0000 (+0100) Subject: Fix bug in dependency checking X-Git-Tag: v1.3.2-rc2~21 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=019895a8dee71a9f00da05c03e379f45d581b0fe;p=u-boot Fix bug in dependency checking By adding VERSION_FILE to the PHONY targets the script /tools/setlocalversion is always called and version_autogenerated.h is replaced only if the script find a modified source file. Signed-off-by: Stefano Babic --- diff --git a/Makefile b/Makefile index 7446bc712c..82d3ab409a 100644 --- a/Makefile +++ b/Makefile @@ -244,7 +244,7 @@ LIBS += libfdt/libfdt.a LIBS += api/libapi.a LIBS := $(addprefix $(obj),$(LIBS)) -.PHONY : $(LIBS) +.PHONY : $(LIBS) $(VERSION_FILE) # Add GCC lib PLATFORM_LIBS += -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc