From ac87fbac852bc8f1ec22dd7ffb0661dd8648f71f Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Tue, 4 Jun 2019 11:18:58 +0200 Subject: [PATCH] simplify e_flex/antelope path compute --- configure/CONFIG_LIBCOM_MODULE | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/configure/CONFIG_LIBCOM_MODULE b/configure/CONFIG_LIBCOM_MODULE index 175606cdb..32bb937c2 100644 --- a/configure/CONFIG_LIBCOM_MODULE +++ b/configure/CONFIG_LIBCOM_MODULE @@ -5,18 +5,10 @@ # in file LICENSE that is included with this distribution. #************************************************************************* -# Set EPICS_LIBCOM if necessary -ifndef EPICS_LIBCOM - EPICS_LIBCOM = $(if $(BUILDING_LIBCOM),$(INSTALL_LOCATION),$(EPICS_BASE)) - - # Paths to tools built here - EPICS_LIBCOM_HOST_BIN ?= $(EPICS_LIBCOM)/bin/$(EPICS_HOST_ARCH) -endif - # Set location of locally generated tools -YACC = $(abspath $(EPICS_LIBCOM_HOST_BIN))/antelope$(HOSTEXE) -LEX = $(abspath $(EPICS_LIBCOM_HOST_BIN))/e_flex$(HOSTEXE) \ - -S$(EPICS_LIBCOM)/include/flex.skel.static +YACC = $(abspath $(EPICS_BASE)/bin/$(EPICS_HOST_ARCH))/antelope$(HOSTEXE) +LEX = $(abspath $(EPICS_BASE)/bin/$(EPICS_HOST_ARCH))/e_flex$(HOSTEXE) \ + -S$(EPICS_BASE)/include/flex.skel.static # Default stack size for osiThread OSITHREAD_USE_DEFAULT_STACK = NO