mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-08-20 04:06:20 -04:00
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>
This commit is contained in:
parent
98ba144ccc
commit
019895a8de
2
Makefile
2
Makefile
@ -244,7 +244,7 @@ LIBS += libfdt/libfdt.a
|
|||||||
LIBS += api/libapi.a
|
LIBS += api/libapi.a
|
||||||
|
|
||||||
LIBS := $(addprefix $(obj),$(LIBS))
|
LIBS := $(addprefix $(obj),$(LIBS))
|
||||||
.PHONY : $(LIBS)
|
.PHONY : $(LIBS) $(VERSION_FILE)
|
||||||
|
|
||||||
# Add GCC lib
|
# Add GCC lib
|
||||||
PLATFORM_LIBS += -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc
|
PLATFORM_LIBS += -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user