From faadcce444b3aa9134c2e3ccfc0c6fcb5868ca6f Mon Sep 17 00:00:00 2001 From: "Janet B. Anderson" Date: Tue, 28 Mar 2000 21:53:47 +0000 Subject: [PATCH] Upward compatibility changes for extensions. --- config/CONFIG.Host.linux-x86 | 4 ++++ config/CONFIG.Host.solaris-sparc | 4 ++++ config/CONFIG_COMPAT | 23 +++++++++++++++++++++++ config/CONFIG_HOST_ARCH.linux-x86 | 4 ++++ config/CONFIG_HOST_ARCH.solaris-sparc | 4 ++++ config/CONFIG_SITE | 1 + config/CONFIG_SITE.Host.linux-x86 | 4 ++++ config/CONFIG_SITE.Host.solaris-sparc | 4 ++++ 8 files changed, 48 insertions(+) create mode 100644 config/CONFIG.Host.linux-x86 create mode 100644 config/CONFIG.Host.solaris-sparc create mode 100644 config/CONFIG_COMPAT create mode 100644 config/CONFIG_HOST_ARCH.linux-x86 create mode 100644 config/CONFIG_HOST_ARCH.solaris-sparc create mode 100644 config/CONFIG_SITE.Host.linux-x86 create mode 100644 config/CONFIG_SITE.Host.solaris-sparc diff --git a/config/CONFIG.Host.linux-x86 b/config/CONFIG.Host.linux-x86 new file mode 100644 index 000000000..27b236af5 --- /dev/null +++ b/config/CONFIG.Host.linux-x86 @@ -0,0 +1,4 @@ +# $Id$ + +# linux-x86 is the new name for linux +-include $(EPICS_BASE)/config/CONFIG.Host.linux diff --git a/config/CONFIG.Host.solaris-sparc b/config/CONFIG.Host.solaris-sparc new file mode 100644 index 000000000..867399522 --- /dev/null +++ b/config/CONFIG.Host.solaris-sparc @@ -0,0 +1,4 @@ +# $Id$ + +# solaris-sparc is the new name for solaris +-include $(EPICS_BASE)/config/CONFIG.Host.solaris diff --git a/config/CONFIG_COMPAT b/config/CONFIG_COMPAT new file mode 100644 index 000000000..22fabadb4 --- /dev/null +++ b/config/CONFIG_COMPAT @@ -0,0 +1,23 @@ +# +# $Id$ +# +# Convert old HOST_ARCH environment variable + +#Syntax: +# 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 + +HOST_ARCH := $(EPICS_HOST_ARCH) diff --git a/config/CONFIG_HOST_ARCH.linux-x86 b/config/CONFIG_HOST_ARCH.linux-x86 new file mode 100644 index 000000000..2aef3c984 --- /dev/null +++ b/config/CONFIG_HOST_ARCH.linux-x86 @@ -0,0 +1,4 @@ +# $Id$ + +# linux-x86 is the new name for linux +-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.linux diff --git a/config/CONFIG_HOST_ARCH.solaris-sparc b/config/CONFIG_HOST_ARCH.solaris-sparc new file mode 100644 index 000000000..f27648afd --- /dev/null +++ b/config/CONFIG_HOST_ARCH.solaris-sparc @@ -0,0 +1,4 @@ +# $Id$ + +# solaris-sparc is the new name for solaris +-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.solaris diff --git a/config/CONFIG_SITE b/config/CONFIG_SITE index 106b4a527..fa3552d4b 100644 --- a/config/CONFIG_SITE +++ b/config/CONFIG_SITE @@ -151,3 +151,4 @@ E2DB_FLAGS = #dbst DBST = $(EPICS_EXTENSIONS)/bin/$(HOST_ARCH)/dbst +include $(EPICS_BASE)/config/CONFIG_COMPAT diff --git a/config/CONFIG_SITE.Host.linux-x86 b/config/CONFIG_SITE.Host.linux-x86 new file mode 100644 index 000000000..905da442c --- /dev/null +++ b/config/CONFIG_SITE.Host.linux-x86 @@ -0,0 +1,4 @@ +# $Id$ + +# linux-x86 is the new name for linux +-include $(EPICS_BASE)/config/CONFIG_SITE.Host.linux diff --git a/config/CONFIG_SITE.Host.solaris-sparc b/config/CONFIG_SITE.Host.solaris-sparc new file mode 100644 index 000000000..68e049e6d --- /dev/null +++ b/config/CONFIG_SITE.Host.solaris-sparc @@ -0,0 +1,4 @@ +# $Id$ + +# solaris-sparc is the new name for solaris +-include $(EPICS_BASE)/config/CONFIG_SITE.Host.solaris