reports.mk: fix build with REPORT=1, CHECK=1 and undefined DEBUG
This commit is contained in:
parent
6bd9a51d84
commit
9d5aca71ab
@ -11,6 +11,9 @@ REPORTDIR := $(BUILDDIR)/reports
|
||||
IMAGE_OUTPATH := $(shell sed -n 's/^IMAGE_OUTPATH = \(.*\)/\1/p' $(BUILDLOG))
|
||||
IMAGE_OUTFILE := $(shell sed -n 's/^IMAGE_OUTFILE = \(.*\)/\1/p' $(BUILDLOG))
|
||||
LOGDIR := $(shell sed -n 's/^LOGDIR = \(.*\)/\1/p' $(BUILDLOG))
|
||||
ifeq (,$(LOGDIR))
|
||||
LOGDIR := $(shell sed -n 's/^LOGDIR ?= \(.*\)/\1/p' $(BUILDCFG))
|
||||
endif
|
||||
ifeq (,$(IMAGE_OUTPATH))
|
||||
TARGET_NAME := $(shell sed -n 's/^IMAGE_NAME = \(.*\)/\1/p' $(BUILDDIR)/distcfg.mk)
|
||||
TARGET_TYPE := $(shell sed -n 's/^IMAGE_TYPE = \(.*\)/\1/p' $(BUILDDIR)/distcfg.mk)
|
||||
|
Loading…
Reference in New Issue
Block a user