reports.mk: move logs to reports directory

This commit is contained in:
Anton Midyukov 2021-06-02 11:58:41 +07:00
parent 187d0a5d51
commit 2e6e001c6c

View File

@ -31,6 +31,8 @@ all: reports/targets reports/scripts reports/cleanlog \
@if [ -n "$(IMAGE_OUTPATH)" ]; then \
rm -fr "$(LOGDIR)/$(IMAGE_OUTFILE).reports"; \
cp -a "$(REPORTDIR)" "$(LOGDIR)/$(IMAGE_OUTFILE).reports"; \
mv $(LOGDIR)/{$(IMAGE_OUTFILE),$(IMAGE_OUTFILE).reports/build}.log; \
mv $(LOGDIR)/{$(IMAGE_OUTFILE),$(IMAGE_OUTFILE).reports/build}.cfg; \
fi
reports/prep: