diff --git a/configure/RULES_ARCHS b/configure/RULES_ARCHS index 0d4d944d4..2346e1b13 100644 --- a/configure/RULES_ARCHS +++ b/configure/RULES_ARCHS @@ -64,6 +64,9 @@ $(BUILD_ARCHS) : % : O.% O.Common $(ACTIONS) : % : $(foreach arch, $(BUILD_ARCHS), %$(DIVIDER)$(arch)) $(buildDirs): + $(if $(wildcard $(CONFIG)/os/CONFIG.Common.$(archPart) \ + $(CONFIG)/os/CONFIG.$(EPICS_HOST_ARCH).$(archPart)),, \ + $(error Base not configured to build target $(archPart))) $(PERL) $(TOOLS)/makeMakefile.pl $@ $(TOP)/.. O.Common: