Commit 019895a8dee71a9f00da05c03e379f45d581b0fe

Authored by Stefano Babic
Committed by Wolfgang Denk
1 parent 98ba144ccc

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 <sbabic@denx.de>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -244,7 +244,7 @@
244 244 LIBS += api/libapi.a
245 245  
246 246 LIBS := $(addprefix $(obj),$(LIBS))
247   -.PHONY : $(LIBS)
  247 +.PHONY : $(LIBS) $(VERSION_FILE)
248 248  
249 249 # Add GCC lib
250 250 PLATFORM_LIBS += -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc