configure/CONFIG: Undefine EHA after use

This commit is contained in:
Andrew Johnson
2018-09-10 18:19:03 -05:00
parent 1b7b2bcceb
commit 526b565c6b
+3 -2
View File
@@ -20,14 +20,15 @@ else
endif
# Provide a default if the user hasn't set EPICS_HOST_ARCH
#
ifeq ($(origin EPICS_HOST_ARCH), undefined)
# Bootstrapping ...
EHA = $(firstword $(wildcard $(EPICS_BASE)/lib/perl/EpicsHostArch.pl \
EHA := $(firstword $(wildcard $(EPICS_BASE)/lib/perl/EpicsHostArch.pl \
$(TOP)/src/tools/EpicsHostArch.pl))
# NB: We use a simply expanded variable here for performance:
export EPICS_HOST_ARCH := $(shell perl $(EHA))
undefine EHA
endif
#
-include $(CONFIG)/os/CONFIG_COMPAT