]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Fix bug in dependency checking
authorStefano Babic <sbabic@denx.de>
Mon, 18 Feb 2008 07:03:51 +0000 (08:03 +0100)
committerWolfgang Denk <wd@denx.de>
Fri, 22 Feb 2008 11:19:04 +0000 (12:19 +0100)
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 <sbabic@denx.de>
Makefile

index 7446bc712c81951c153c362800164858bb1fa5b4..82d3ab409ae1d6f167aecd52f31c2945ae7eed14 100644 (file)
--- 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