Touch the donwload files to change the modified time (#10929)
Why I did it It is to improve the build performance, when building multiple targets. The modified time of downloaded files should be not older than the file .platform. If not, the file will be downloaded again, when building any dependent targets. How I did it When downloading the packages from web site, the modified time will be changed by the command "touch".
This commit is contained in:
parent
f0dfd398a6
commit
cc9a4beb0c
@ -24,6 +24,7 @@ $(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
|
|||||||
url=$(FIPS_URL_PREFIX)/$$filename
|
url=$(FIPS_URL_PREFIX)/$$filename
|
||||||
mkdir -p "$$(dirname $(DEST)/$$target)"
|
mkdir -p "$$(dirname $(DEST)/$$target)"
|
||||||
wget -O "$(DEST)/$$target" "$$url"
|
wget -O "$(DEST)/$$target" "$$url"
|
||||||
|
touch "$(DEST)/$$target"
|
||||||
done
|
done
|
||||||
|
|
||||||
$(addprefix $(DEST)/, $(FIPS_DERIVED_TARGET)): $(DEST)/% : $(DEST)/$(MAIN_TARGET)
|
$(addprefix $(DEST)/, $(FIPS_DERIVED_TARGET)): $(DEST)/% : $(DEST)/$(MAIN_TARGET)
|
||||||
|
Loading…
Reference in New Issue
Block a user