From 019895a8dee71a9f00da05c03e379f45d581b0fe Mon Sep 17 00:00:00 2001 From: Stefano Babic Date: Mon, 18 Feb 2008 08:03:51 +0100 Subject: 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 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7446bc712..82d3ab409 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 -- cgit v1.2.3