• Anton Midyukov's avatar
    reports: DEBUG must be enabled, CHECK must be disabled · b627d755
    Anton Midyukov authored
    We cannot get IMAGE_OUTPATH from the build.log, and there is currently
    no other mechanism. Creating a CHECK directory was a bad idea. It should
    have been created only for CHECK, but it was always created when DEBUG
    was not enabled. So it's better to just issue a warning.
    b627d755
report.mk 324 Bytes
# enable make target tracing

ifeq (,$(CHECK))
ifneq (,$(DEBUG))
ifneq (,$(REPORT))
TRACE_PREFIX := trace:building
OLD_SHELL := $(SHELL)
SHELL = $(info $(TRACE_PREFIX) $@$(if $^$|, -> $^ $|))$(OLD_SHELL)
# piggyback BUILDDIR back into supervising environment
$(info $(TRACE_PREFIX) BUILDDIR = $(BUILDDIR))
endif
endif
endif