From 6afc350ed860528f3b62f8f97055c046ef3b0ad5 Mon Sep 17 00:00:00 2001 From: Kevin Peterson Date: Tue, 22 Oct 2019 11:02:40 -0500 Subject: [PATCH 1/3] Added motor's RELEASE file as a dependency of modules/RELEASE.$(EPICS_HOST_ARCH).local --- modules/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/Makefile b/modules/Makefile index e246a467..8a4c502d 100644 --- a/modules/Makefile +++ b/modules/Makefile @@ -56,7 +56,7 @@ RELEASE_LOCAL := RELEASE.$(EPICS_HOST_ARCH).local all host $(DIRS) $(ARCHS) $(ACTIONS) $(dirActionTargets) $(dirArchTargets) \ $(dirActionArchTargets) $(actionArchTargets): | $(RELEASE_LOCAL) -$(RELEASE_LOCAL): +$(RELEASE_LOCAL): $(TOP)/configure/RELEASE $(ECHO) Creating $@, MOTOR = $(INSTALL_LOCATION_ABS) @echo MOTOR = $(INSTALL_LOCATION_ABS)> $@ ifdef ASYN From b060345333646ed3a965309e91579a4649911892 Mon Sep 17 00:00:00 2001 From: Kevin Peterson Date: Thu, 31 Oct 2019 14:21:43 -0500 Subject: [PATCH 2/3] Reverted commit 6afc350ed860528f3b62f8f97055c046ef3b0ad5 --- modules/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/Makefile b/modules/Makefile index 8a4c502d..e246a467 100644 --- a/modules/Makefile +++ b/modules/Makefile @@ -56,7 +56,7 @@ RELEASE_LOCAL := RELEASE.$(EPICS_HOST_ARCH).local all host $(DIRS) $(ARCHS) $(ACTIONS) $(dirActionTargets) $(dirArchTargets) \ $(dirActionArchTargets) $(actionArchTargets): | $(RELEASE_LOCAL) -$(RELEASE_LOCAL): $(TOP)/configure/RELEASE +$(RELEASE_LOCAL): $(ECHO) Creating $@, MOTOR = $(INSTALL_LOCATION_ABS) @echo MOTOR = $(INSTALL_LOCATION_ABS)> $@ ifdef ASYN From b35358218ad7ea54afa14a6cfb49a0ba0fdc1394 Mon Sep 17 00:00:00 2001 From: Kevin Peterson Date: Thu, 31 Oct 2019 14:26:41 -0500 Subject: [PATCH 3/3] Added $(RELEASE_LOCAL) as a phony target so that it is rebuilt every time, even if changes are not needed. This is preferrably to a dependency rule on a specific release file, because there are many release files that could be used. --- modules/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/Makefile b/modules/Makefile index e246a467..fe0e2146 100644 --- a/modules/Makefile +++ b/modules/Makefile @@ -56,6 +56,7 @@ RELEASE_LOCAL := RELEASE.$(EPICS_HOST_ARCH).local all host $(DIRS) $(ARCHS) $(ACTIONS) $(dirActionTargets) $(dirArchTargets) \ $(dirActionArchTargets) $(actionArchTargets): | $(RELEASE_LOCAL) +.PHONY: $(RELEASE_LOCAL) $(RELEASE_LOCAL): $(ECHO) Creating $@, MOTOR = $(INSTALL_LOCATION_ABS) @echo MOTOR = $(INSTALL_LOCATION_ABS)> $@