From 6f39b03d80e61c209d596c7caffefd1ca618560d Mon Sep 17 00:00:00 2001 From: Simon Rose <simon.rose@ess.eu> Date: Mon, 22 Feb 2021 16:58:52 +0100 Subject: [PATCH] Removed require conditional --- require-ess/tools/driver.makefile | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/require-ess/tools/driver.makefile b/require-ess/tools/driver.makefile index 5ad119fe..b3895d9f 100644 --- a/require-ess/tools/driver.makefile +++ b/require-ess/tools/driver.makefile @@ -535,18 +535,11 @@ EPICS_INCLUDES = # Add include directory of foreign modules to include file search path. # # The default behaviour is to start with <module>_VERSION and to select the highest -# available build number, unless otherwise specified. This is determined with the +# available build number, unless a build no. is specified. This is determined with the # shell script build_number.sh included with require. -# -# Note that we do not perform this search when building require as -# 1. require has no dependencies -# 2. build_number.sh is not installed yet, so ADD_OTHER_INCLUDES complains -# when searching EPICS_MODULES (= $(EPICS_BASE)) - -ifneq ($(strip $(PRJ)),require) define FETCH_BUILD_NUMBER -$(shell $(E3_REQUIRE_TOOLS)/build_number.sh $(1) $(2) $($(2)_VERSION)) +$(shell ${MAKEHOME}/build_number.sh $(1) $(2) $($(2)_VERSION)) endef define ADD_INCLUDES_TEMPLATE @@ -554,9 +547,7 @@ INSTALL_INCLUDES += $$(patsubst %,-I${2}/$(1)/%/include,$$(call FETCH_BUILD_NUMB endef $(foreach m,$(filter-out $(PRJ),$(notdir $(wildcard ${E3_SITEMODS_PATH}/*))),$(eval $(call ADD_INCLUDES_TEMPLATE,$m,$(E3_SITEMODS_PATH)))) $(foreach m,$(filter-out $(PRJ),$(notdir $(wildcard ${E3_SITEAPPS_PATH}/*))),$(eval $(call ADD_INCLUDES_TEMPLATE,$m,$(E3_SITEAPPS_PATH)))) -$(foreach m,$(filter-out $(PRJ),$(notdir $(wildcard ${EPICS_MODULES}/*))),$(eval $(call ADD_INCLUDES_TEMPLATE,$m,$(EPICS_MODULES)))) - -endif +$(foreach m,$(filter-out $(PRJ),$(notdir $(wildcard ${EPICS_MODULES}/*))) ,$(eval $(call ADD_INCLUDES_TEMPLATE,$m,$(EPICS_MODULES)))) BASERULES=${EPICS_BASE}/configure/RULES -- GitLab