summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorStefano Babic <sbabic@denx.de>2008-02-18 08:03:51 +0100
committerWolfgang Denk <wd@denx.de>2008-02-22 12:19:04 +0100
commit019895a8dee71a9f00da05c03e379f45d581b0fe (patch)
tree7c97e04dc6c53c7aff1941b76a6090dbc2793007 /Makefile
parent98ba144ccc912eee90dd42699f023c497ce774c6 (diff)
downloadu-boot-imx-019895a8dee71a9f00da05c03e379f45d581b0fe.zip
u-boot-imx-019895a8dee71a9f00da05c03e379f45d581b0fe.tar.gz
u-boot-imx-019895a8dee71a9f00da05c03e379f45d581b0fe.tar.bz2
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7446bc7..82d3ab4 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