fix EXCLUDE_VERSIONS so that 7.0.1 does not match 7.0.10 but 7.0 still matches both

This commit is contained in:
2026-01-12 10:19:12 +01:00
parent bc299baad5
commit 8ccbd795bd
+1 -1
View File
@@ -148,7 +148,7 @@ ifndef EPICSVERSION
# Find out which EPICS versions to build.
INSTALLED_EPICS_VERSIONS := $(sort $(patsubst ${EPICS_LOCATION}/base-%,%,$(realpath $(wildcard ${EPICS_LOCATION}/base-*[0-9]))))
EPICS_VERSIONS = $(filter-out ${EXCLUDE_VERSIONS:=%},${DEFAULT_EPICS_VERSIONS})
EPICS_VERSIONS = $(filter-out ${EXCLUDE_VERSIONS} ${EXCLUDE_VERSIONS:=.%},${DEFAULT_EPICS_VERSIONS})
MISSING_EPICS_VERSIONS = $(filter-out ${BUILD_EPICS_VERSIONS},${EPICS_VERSIONS})
BUILD_EPICS_VERSIONS = $(filter ${INSTALLED_EPICS_VERSIONS},${EPICS_VERSIONS})
$(foreach v,$(sort $(basename $(basename $(basename ${BUILD_EPICS_VERSIONS}))) $(basename $(basename ${BUILD_EPICS_VERSIONS})) $(basename ${BUILD_EPICS_VERSIONS})),$(eval EPICS_VERSIONS_$v=$(filter $v.%,${BUILD_EPICS_VERSIONS})))