From f7805d6d3b42dd275dd798d8201e20589064c657 Mon Sep 17 00:00:00 2001 From: Dirk Zimoch Date: Thu, 13 Apr 2023 13:43:02 +0200 Subject: [PATCH] Bail out if EPICS_HOST_ARCH is not set (rather than fail with cryptic errors) --- App/tools/driver.makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/App/tools/driver.makefile b/App/tools/driver.makefile index 02ef022..1780742 100644 --- a/App/tools/driver.makefile +++ b/App/tools/driver.makefile @@ -100,6 +100,10 @@ DEPFILE = ${PRJ}.dep BASH_ENV= ENV= +ifeq (${EPICS_HOST_ARCH},) +$(error EPICS_HOST_ARCH is not set) +endif + # Default target is "build" for all versions. # Don't install anything (different from default EPICS make rules). default: build