summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ce22e99..9dd1c9a 100644
--- a/Makefile
+++ b/Makefile
@@ -88,9 +88,9 @@ $(PREFIX)/installed/$(1): $(TOP_DIR)/src/$(1).mk \
@[ -d '$(LOG_DIR)/$(TIMESTAMP)' ] || mkdir -p '$(LOG_DIR)/$(TIMESTAMP)'
@if ! $(call CHECK_PKG_ARCHIVE,$(1)); then \
echo '[download] $(1)'; \
+ ($(call DOWNLOAD_PKG_ARCHIVE,$(1))) &> '$(LOG_DIR)/$(TIMESTAMP)/$(1)-download'; \
rm -f '$(LOG_DIR)/$(1)-download'; \
ln -s '$(TIMESTAMP)/$(1)-download' '$(LOG_DIR)/$(1)-download'; \
- ($(call DOWNLOAD_PKG_ARCHIVE,$(1))) &> '$(LOG_DIR)/$(1)-download'; \
if ! $(call CHECK_PKG_ARCHIVE,$(1)); then \
echo; \
echo 'Wrong checksum of package $(1)!'; \
@@ -106,8 +106,9 @@ $(PREFIX)/installed/$(1): $(TOP_DIR)/src/$(1).mk \
@echo '[build] $(1)'
,)
@rm -f '$(LOG_DIR)/$(1)'
+ @touch '$(LOG_DIR)/$(TIMESTAMP)/$(1)'
@ln -s '$(TIMESTAMP)/$(1)' '$(LOG_DIR)/$(1)'
- @if ! (time $(MAKE) -f '$(MAKEFILE)' 'build-only-$(1)') &> '$(LOG_DIR)/$(1)'; then \
+ @if ! (time $(MAKE) -f '$(MAKEFILE)' 'build-only-$(1)') &> '$(LOG_DIR)/$(TIMESTAMP)/$(1)'; then \
echo; \
echo 'Failed to build package $(1)!'; \
echo '------------------------------------------------------------'; \