diff --git a/src/makeBaseApp/top/configure/CONFIG b/src/makeBaseApp/top/configure/CONFIG index e4e0712d3..c1a470322 100644 --- a/src/makeBaseApp/top/configure/CONFIG +++ b/src/makeBaseApp/top/configure/CONFIG @@ -1,10 +1,13 @@ -# CONFIG +# CONFIG - Load build configuration data +# +# Do not make changes to this file! +# Allow user to override where the build rules come from RULES = $(EPICS_BASE) +# RELEASE files point to other application tops include $(TOP)/configure/RELEASE -include $(TOP)/configure/RELEASE.$(EPICS_HOST_ARCH).Common - ifdef T_A -include $(TOP)/configure/RELEASE.Common.$(T_A) -include $(TOP)/configure/RELEASE.$(EPICS_HOST_ARCH).$(T_A) @@ -13,11 +16,12 @@ endif CONFIG = $(RULES)/configure include $(CONFIG)/CONFIG -# Override for definition in base +# Override the Base definition: INSTALL_LOCATION = $(TOP) + +# CONFIG_SITE files contain other build configuration settings include $(TOP)/configure/CONFIG_SITE -include $(TOP)/configure/CONFIG_SITE.$(EPICS_HOST_ARCH).Common - ifdef T_A -include $(TOP)/configure/CONFIG_SITE.Common.$(T_A) -include $(TOP)/configure/CONFIG_SITE.$(EPICS_HOST_ARCH).$(T_A) diff --git a/src/makeBaseApp/top/configure/RELEASE b/src/makeBaseApp/top/configure/RELEASE index 057d8c792..84074fe15 100644 --- a/src/makeBaseApp/top/configure/RELEASE +++ b/src/makeBaseApp/top/configure/RELEASE @@ -1,20 +1,23 @@ -#RELEASE Location of external support modules +# RELEASE - Location of external support modules # -# IF YOU MAKE ANY CHANGES to this file you MUST at least run -# "gnumake" in this directory afterwards; you usually need -# to run "gnumake rebuild" in the application's top level -# directory each time this file is changed. +# IF YOU MAKE ANY CHANGES to this file you must subsequently +# do a "gnumake rebuild" in this application's top level +# directory. # -# NOTE: The build does not check dependencies against files -# that are outside this application, thus you should run -# "gnumake distclean install" in the top directory each time -# EPICS_BASE, SNCSEQ, or any other external module defined -# in the RELEASE file is rebuilt. +# The build process does not check dependencies against files +# that are outside this application, thus you should do a +# "gnumake rebuild" in the top level directory after EPICS_BASE +# or any other external module pointed to below is rebuilt. # -# Host/target specific settings can be specified in files named +# Host- or target-specific settings can be given in files named # RELEASE.$(EPICS_HOST_ARCH).Common # RELEASE.Common.$(T_A) # RELEASE.$(EPICS_HOST_ARCH).$(T_A) +# +# This file should ONLY define paths to other support modules, +# or include statements that pull in similar RELEASE files. +# Build settings that are NOT module paths should appear in a +# CONFIG_SITE file. TEMPLATE_TOP=_TEMPLATE_TOP_ @@ -24,5 +27,6 @@ TEMPLATE_TOP=_TEMPLATE_TOP_ # EPICS_BASE usually appears last so other apps can override stuff: EPICS_BASE=_EPICS_BASE_ -# Set RULES to use build rules from somewhere other than EPICS_BASE: +# Set RULES here if you want to take build rules from somewhere +# other than EPICS_BASE: #RULES=/path/to/epics/support/module/rules/x-y