Added file for backward compatability to old HOST_ARCH env var.
This commit is contained in:
22
configure/os/CONFIG_COMPAT
Normal file
22
configure/os/CONFIG_COMPAT
Normal file
@@ -0,0 +1,22 @@
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
# Convert old HOST_ARCH environment variable to
|
||||
# new EPICS_HOST_ARCH environment variable
|
||||
|
||||
#Syntax:
|
||||
# ARCH_<host_arch> = <epics_host_arch>
|
||||
ARCH_solaris = solaris-sparc
|
||||
ARCH_sun4 = sun4-sparc
|
||||
ARCH_Linux = linux-x86
|
||||
ARCH_WIN32 = win32-x86
|
||||
ARCH_hp700 = hpux-m68k
|
||||
ARCH_hp700 = osf-alpha
|
||||
|
||||
ifndef EPICS_HOST_ARCH
|
||||
ifdef HOST_ARCH
|
||||
EPICS_HOST_ARCH = $(firstword $(ARCH_$(HOST_ARCH)) $(HOST_ARCH))
|
||||
else
|
||||
EPICS_HOST_ARCH = unsupported
|
||||
endif
|
||||
endif
|
||||
Reference in New Issue
Block a user