reports.mk: Rewrite reports directory
Previously, when rebuilding, the new reports were copied as a subdirectory.
This commit is contained in:
parent
e8fcdaf8e3
commit
88d0d01647
@ -28,6 +28,7 @@ endef
|
||||
|
||||
all: reports/targets reports/scripts reports/cleanlog reports/contents
|
||||
@if [ -n "$(IMAGE_OUTPATH)" ]; then \
|
||||
rm -fr "$(LOGDIR)/$(IMAGE_OUTFILE).reports"; \
|
||||
cp -a "$(REPORTDIR)" "$(LOGDIR)/$(IMAGE_OUTFILE).reports"; \
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user