From d0c7992c698a67050533f094585a88cbd1579de5 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Wed, 25 Mar 2026 10:11:54 -0500 Subject: [PATCH] Check build arch's are known before creating build dirs --- configure/RULES_ARCHS | 3 +++ 1 file changed, 3 insertions(+) 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: