Skip to content
Snippets Groups Projects
Commit 6f39b03d authored by Simon Rose's avatar Simon Rose
Browse files

Removed require conditional

parent fced7a75
No related branches found
No related tags found
No related merge requests found
...@@ -535,18 +535,11 @@ EPICS_INCLUDES = ...@@ -535,18 +535,11 @@ EPICS_INCLUDES =
# Add include directory of foreign modules to include file search path. # 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 # 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. # 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 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 endef
define ADD_INCLUDES_TEMPLATE define ADD_INCLUDES_TEMPLATE
...@@ -554,9 +547,7 @@ INSTALL_INCLUDES += $$(patsubst %,-I${2}/$(1)/%/include,$$(call FETCH_BUILD_NUMB ...@@ -554,9 +547,7 @@ INSTALL_INCLUDES += $$(patsubst %,-I${2}/$(1)/%/include,$$(call FETCH_BUILD_NUMB
endef 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_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 ${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)))) $(foreach m,$(filter-out $(PRJ),$(notdir $(wildcard ${EPICS_MODULES}/*))) ,$(eval $(call ADD_INCLUDES_TEMPLATE,$m,$(EPICS_MODULES))))
endif
BASERULES=${EPICS_BASE}/configure/RULES BASERULES=${EPICS_BASE}/configure/RULES
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment