Move EpicsHostArch.pl into src/tools, install to lib/perl

This commit is contained in:
Andrew Johnson
2018-06-26 11:23:15 -05:00
parent 8f55a1307d
commit 220e404203
3 changed files with 7 additions and 1 deletions

View File

@ -21,8 +21,11 @@ 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 \
$(TOP)/src/tools/EpicsHostArch.pl))
# NB: We use a simply expanded variable here for performance:
EPICS_HOST_ARCH := $(shell $(CONFIG)/../startup/EpicsHostArch.pl)
export EPICS_HOST_ARCH := $(shell perl $(EHA))
endif
#

View File

@ -16,6 +16,9 @@ PERL_MODULES += EPICS/Path.pm
PERL_MODULES += EPICS/Release.pm
PERL_MODULES += EPICS/Getopts.pm
# This goes into lib/perl, not bin/<host>
PERL_MODULES += EpicsHostArch.pl
PERL_SCRIPTS += convertRelease.pl
PERL_SCRIPTS += cvsclean.pl
PERL_SCRIPTS += dos2unix.pl