Display rule activity in modules/Makefile

This commit is contained in:
Andrew Johnson
2017-12-07 14:44:26 -06:00
parent 933082c1c0
commit c9ca39ce70

View File

@@ -44,12 +44,15 @@ DIRS += $(subst /Makefile,,$(wildcard $(addsuffix /Makefile, $(SUBMODULES))))
include $(TOP)/configure/RULES_DIRS
INSTALL_LOCATION_ABS := $(abspath $(INSTALL_LOCATION))
RELEASE_LOCAL := RELEASE.$(EPICS_HOST_ARCH).local
# Ensure that RELEASE.<host>.local exists before doing anything else
all host $(DIRS) $(ARCHS) $(ACTIONS) $(dirActionTargets) $(dirArchTargets) \
$(dirActionArchTargets) $(actionArchTargets): \
| RELEASE.$(EPICS_HOST_ARCH).local
$(dirActionArchTargets) $(actionArchTargets): | $(RELEASE_LOCAL)
RELEASE.$(EPICS_HOST_ARCH).local:
@echo EPICS_BASE = $(abspath $(INSTALL_LOCATION))> $@
$(RELEASE_LOCAL):
$(ECHO) Creating $@, EPICS_BASE = $(INSTALL_LOCATION_ABS)
@echo EPICS_BASE = $(INSTALL_LOCATION_ABS)> $@
realclean:
$(RM) RELEASE.$(EPICS_HOST_ARCH).local
$(RM) $(RELEASE_LOCAL)