From 42b1f774daf155adb5c2dff34fcc43cf3a5f915b Mon Sep 17 00:00:00 2001 From: Dirk Zimoch Date: Tue, 25 Sep 2018 11:13:08 +0200 Subject: [PATCH] add PSI configuration --- configure/os/CONFIG.Common.RHEL7-x86_64 | 4 ++ configure/os/CONFIG.Common.RHEL7-x86_64-clang | 3 ++ configure/os/CONFIG.Common.SL5-x86 | 6 +++ configure/os/CONFIG.Common.SL5-x86_64 | 4 ++ configure/os/CONFIG.Common.SL6-x86 | 6 +++ configure/os/CONFIG.Common.SL6-x86_64 | 4 ++ configure/os/CONFIG.Common.SL6-x86_64-clang | 3 ++ configure/os/CONFIG.Common.T2-ppc604 | 8 ++++ configure/os/CONFIG.Common.UnixCommon | 6 ++- configure/os/CONFIG.Common.V62-ppc604 | 2 + configure/os/CONFIG.Common.V63-ppc603 | 5 ++ configure/os/CONFIG.Common.V63-ppc604 | 5 ++ configure/os/CONFIG.Common.V66-ppc603 | 2 + configure/os/CONFIG.Common.V66-ppc604 | 2 + configure/os/CONFIG.Common.V67-ppc604 | 5 ++ configure/os/CONFIG.Common.eldk42-ppc4xxFP | 22 +++++++++ configure/os/CONFIG.Common.eldk51-ppc4xxSF | 16 +++++++ configure/os/CONFIG.Common.eldk52-e500v2 | 17 +++++++ configure/os/CONFIG.Common.eldk53-ppc4xxFP | 23 +++++++++ .../os/CONFIG.Common.fslqoriq20-e6500_64 | 25 ++++++++++ configure/os/CONFIG.Common.linux-clang | 5 ++ configure/os/CONFIG.Common.moxa42-armv6l | 16 +++++++ configure/os/CONFIG.Common.mvl40-xscale_be | 12 +++++ configure/os/CONFIG.Common.yocto21-aarch64 | 20 ++++++++ configure/os/CONFIG.RHEL7-x86_64.Common | 3 ++ configure/os/CONFIG.RHEL7-x86_64.RHEL7-x86_64 | 2 + configure/os/CONFIG.RHEL7-x86_64.SL6-x86 | 14 ++++++ configure/os/CONFIG.RHEL7-x86_64.SL6-x86_64 | 14 ++++++ configure/os/CONFIG.SL5-x86.Common | 3 ++ configure/os/CONFIG.SL5-x86.SL5-x86 | 2 + configure/os/CONFIG.SL5-x86_64.Common | 3 ++ configure/os/CONFIG.SL5-x86_64.SL5-x86_64 | 2 + configure/os/CONFIG.SL6-x86.Common | 2 + configure/os/CONFIG.SL6-x86.SL6-x86 | 2 + configure/os/CONFIG.SL6-x86_64.Common | 3 ++ configure/os/CONFIG.SL6-x86_64.SL6-x86 | 2 + configure/os/CONFIG.SL6-x86_64.SL6-x86_64 | 2 + configure/os/CONFIG_SITE.Common.vxWorksCommon | 3 +- configure/os/CONFIG_SITE.RHEL7-x86_64.Common | 13 +++++ configure/os/CONFIG_SITE.SL5-x86.Common | 1 + configure/os/CONFIG_SITE.SL5-x86_64.Common | 3 ++ configure/os/CONFIG_SITE.SL6-x86.Common | 1 + configure/os/CONFIG_SITE.SL6-x86_64.Common | 7 +++ configure/os/CONFIG_SITE.linux-x86.Common | 47 +++++++++++++++---- configure/os/CONFIG_SITE.linux-x86_64.Common | 14 +++--- 45 files changed, 346 insertions(+), 18 deletions(-) create mode 100644 configure/os/CONFIG.Common.RHEL7-x86_64 create mode 100644 configure/os/CONFIG.Common.RHEL7-x86_64-clang create mode 100644 configure/os/CONFIG.Common.SL5-x86 create mode 100644 configure/os/CONFIG.Common.SL5-x86_64 create mode 100644 configure/os/CONFIG.Common.SL6-x86 create mode 100644 configure/os/CONFIG.Common.SL6-x86_64 create mode 100644 configure/os/CONFIG.Common.SL6-x86_64-clang create mode 100644 configure/os/CONFIG.Common.T2-ppc604 create mode 100644 configure/os/CONFIG.Common.V62-ppc604 create mode 100644 configure/os/CONFIG.Common.V63-ppc603 create mode 100644 configure/os/CONFIG.Common.V63-ppc604 create mode 100644 configure/os/CONFIG.Common.V66-ppc603 create mode 100644 configure/os/CONFIG.Common.V66-ppc604 create mode 100644 configure/os/CONFIG.Common.V67-ppc604 create mode 100644 configure/os/CONFIG.Common.eldk42-ppc4xxFP create mode 100644 configure/os/CONFIG.Common.eldk51-ppc4xxSF create mode 100644 configure/os/CONFIG.Common.eldk52-e500v2 create mode 100644 configure/os/CONFIG.Common.eldk53-ppc4xxFP create mode 100644 configure/os/CONFIG.Common.fslqoriq20-e6500_64 create mode 100644 configure/os/CONFIG.Common.linux-clang create mode 100644 configure/os/CONFIG.Common.moxa42-armv6l create mode 100644 configure/os/CONFIG.Common.mvl40-xscale_be create mode 100644 configure/os/CONFIG.Common.yocto21-aarch64 create mode 100644 configure/os/CONFIG.RHEL7-x86_64.Common create mode 100644 configure/os/CONFIG.RHEL7-x86_64.RHEL7-x86_64 create mode 100644 configure/os/CONFIG.RHEL7-x86_64.SL6-x86 create mode 100644 configure/os/CONFIG.RHEL7-x86_64.SL6-x86_64 create mode 100644 configure/os/CONFIG.SL5-x86.Common create mode 100644 configure/os/CONFIG.SL5-x86.SL5-x86 create mode 100644 configure/os/CONFIG.SL5-x86_64.Common create mode 100644 configure/os/CONFIG.SL5-x86_64.SL5-x86_64 create mode 100644 configure/os/CONFIG.SL6-x86.Common create mode 100644 configure/os/CONFIG.SL6-x86.SL6-x86 create mode 100644 configure/os/CONFIG.SL6-x86_64.Common create mode 100644 configure/os/CONFIG.SL6-x86_64.SL6-x86 create mode 100644 configure/os/CONFIG.SL6-x86_64.SL6-x86_64 create mode 100644 configure/os/CONFIG_SITE.RHEL7-x86_64.Common create mode 100644 configure/os/CONFIG_SITE.SL5-x86.Common create mode 100644 configure/os/CONFIG_SITE.SL5-x86_64.Common create mode 100644 configure/os/CONFIG_SITE.SL6-x86.Common create mode 100644 configure/os/CONFIG_SITE.SL6-x86_64.Common diff --git a/configure/os/CONFIG.Common.RHEL7-x86_64 b/configure/os/CONFIG.Common.RHEL7-x86_64 new file mode 100644 index 000000000..083caea5f --- /dev/null +++ b/configure/os/CONFIG.Common.RHEL7-x86_64 @@ -0,0 +1,4 @@ +# Include definitions common to linux pentium targets +include $(CONFIG)/os/CONFIG.Common.linux-x86_64 + +COMMANDLINE_LIBRARY = READLINE diff --git a/configure/os/CONFIG.Common.RHEL7-x86_64-clang b/configure/os/CONFIG.Common.RHEL7-x86_64-clang new file mode 100644 index 000000000..57f57aa53 --- /dev/null +++ b/configure/os/CONFIG.Common.RHEL7-x86_64-clang @@ -0,0 +1,3 @@ +include $(CONFIG)/os/CONFIG.Common.linux-clang + +COMMANDLINE_LIBRARY = READLINE diff --git a/configure/os/CONFIG.Common.SL5-x86 b/configure/os/CONFIG.Common.SL5-x86 new file mode 100644 index 000000000..e0dd111d9 --- /dev/null +++ b/configure/os/CONFIG.Common.SL5-x86 @@ -0,0 +1,6 @@ +# Include definitions common to linux pentium targets +include $(CONFIG)/os/CONFIG.Common.linux-x86 + +COMMANDLINE_LIBRARY = READLINE_NCURSES + +ARCH_DEP_CFLAGS += -march=i686 diff --git a/configure/os/CONFIG.Common.SL5-x86_64 b/configure/os/CONFIG.Common.SL5-x86_64 new file mode 100644 index 000000000..477309803 --- /dev/null +++ b/configure/os/CONFIG.Common.SL5-x86_64 @@ -0,0 +1,4 @@ +# Include definitions common to linux pentium targets +include $(CONFIG)/os/CONFIG.Common.linux-x86_64 + +COMMANDLINE_LIBRARY = READLINE_NCURSES diff --git a/configure/os/CONFIG.Common.SL6-x86 b/configure/os/CONFIG.Common.SL6-x86 new file mode 100644 index 000000000..e5d9c2804 --- /dev/null +++ b/configure/os/CONFIG.Common.SL6-x86 @@ -0,0 +1,6 @@ +# Include definitions common to linux pentium targets +include $(CONFIG)/os/CONFIG.Common.linux-x86 + +COMMANDLINE_LIBRARY = READLINE + +ARCH_DEP_CFLAGS += -march=i686 diff --git a/configure/os/CONFIG.Common.SL6-x86_64 b/configure/os/CONFIG.Common.SL6-x86_64 new file mode 100644 index 000000000..083caea5f --- /dev/null +++ b/configure/os/CONFIG.Common.SL6-x86_64 @@ -0,0 +1,4 @@ +# Include definitions common to linux pentium targets +include $(CONFIG)/os/CONFIG.Common.linux-x86_64 + +COMMANDLINE_LIBRARY = READLINE diff --git a/configure/os/CONFIG.Common.SL6-x86_64-clang b/configure/os/CONFIG.Common.SL6-x86_64-clang new file mode 100644 index 000000000..57f57aa53 --- /dev/null +++ b/configure/os/CONFIG.Common.SL6-x86_64-clang @@ -0,0 +1,3 @@ +include $(CONFIG)/os/CONFIG.Common.linux-clang + +COMMANDLINE_LIBRARY = READLINE diff --git a/configure/os/CONFIG.Common.T2-ppc604 b/configure/os/CONFIG.Common.T2-ppc604 new file mode 100644 index 000000000..52c0650b5 --- /dev/null +++ b/configure/os/CONFIG.Common.T2-ppc604 @@ -0,0 +1,8 @@ +include $(CONFIG)/os/CONFIG.Common.vxWorks-ppc604_long +VXWORKS_VERSION = 5.5.1 +WIND_BASE = /afs/psi.ch/project/vxworks/Tornado2.2.1 + +#there is a problem with our ccppc and optimization +# -O0 works, -O and -O1 and higher are buggy +OPT_CFLAGS_YES = -O0 +OPT_CXXFLAGS_YES = -O0 diff --git a/configure/os/CONFIG.Common.UnixCommon b/configure/os/CONFIG.Common.UnixCommon index add84873e..c11d26520 100644 --- a/configure/os/CONFIG.Common.UnixCommon +++ b/configure/os/CONFIG.Common.UnixCommon @@ -18,8 +18,10 @@ OBJ = .o LIB_PREFIX = lib LIB_SUFFIX = .a SHRLIB_SUFFIX_BASE = .so -SHRLIB_SUFFIX = $(SHRLIB_SUFFIX_BASE)$(addprefix .,$(SHRLIB_VERSION)) -LOADABLE_SHRLIB_SUFFIX = $(SHRLIB_SUFFIX_BASE)$(addprefix .,$(LOADABLE_SHRLIB_VERSION)) +#SHRLIB_SUFFIX = $(SHRLIB_SUFFIX_BASE)$(addprefix .,$(SHRLIB_VERSION)) +SHRLIB_SUFFIX = $(SHRLIB_SUFFIX_BASE) +#LOADABLE_SHRLIB_SUFFIX = $(SHRLIB_SUFFIX_BASE)$(addprefix .,$(LOADABLE_SHRLIB_VERSION)) +LOADABLE_SHRLIB_SUFFIX = $(SHRLIB_SUFFIX_BASE) LOADABLE_SHRLIB_PREFIX = lib #------------------------------------------------------- diff --git a/configure/os/CONFIG.Common.V62-ppc604 b/configure/os/CONFIG.Common.V62-ppc604 new file mode 100644 index 000000000..cc789ca10 --- /dev/null +++ b/configure/os/CONFIG.Common.V62-ppc604 @@ -0,0 +1,2 @@ +include $(CONFIG)/os/CONFIG.Common.vxWorks-ppc604_long +VXWORKS_VERSION = 6.2 diff --git a/configure/os/CONFIG.Common.V63-ppc603 b/configure/os/CONFIG.Common.V63-ppc603 new file mode 100644 index 000000000..910283dd2 --- /dev/null +++ b/configure/os/CONFIG.Common.V63-ppc603 @@ -0,0 +1,5 @@ +include $(CONFIG)/os/CONFIG.Common.vxWorks-ppc603_long +VXWORKS_VERSION = 6.3 + +# Buggy "uninitialized variable" warning produces many false positives +ARCH_DEP_CXXFLAGS += -Wno-uninitialized diff --git a/configure/os/CONFIG.Common.V63-ppc604 b/configure/os/CONFIG.Common.V63-ppc604 new file mode 100644 index 000000000..3315e8fe2 --- /dev/null +++ b/configure/os/CONFIG.Common.V63-ppc604 @@ -0,0 +1,5 @@ +include $(CONFIG)/os/CONFIG.Common.vxWorks-ppc604_long +VXWORKS_VERSION = 6.3 + +# Buggy "uninitialized variable" warning produces many false positives +ARCH_DEP_CXXFLAGS += -Wno-uninitialized diff --git a/configure/os/CONFIG.Common.V66-ppc603 b/configure/os/CONFIG.Common.V66-ppc603 new file mode 100644 index 000000000..8bcdabf06 --- /dev/null +++ b/configure/os/CONFIG.Common.V66-ppc603 @@ -0,0 +1,2 @@ +include $(CONFIG)/os/CONFIG.Common.vxWorks-ppc603_long +VXWORKS_VERSION = 6.6 diff --git a/configure/os/CONFIG.Common.V66-ppc604 b/configure/os/CONFIG.Common.V66-ppc604 new file mode 100644 index 000000000..c450c7d71 --- /dev/null +++ b/configure/os/CONFIG.Common.V66-ppc604 @@ -0,0 +1,2 @@ +include $(CONFIG)/os/CONFIG.Common.vxWorks-ppc604_long +VXWORKS_VERSION = 6.6 diff --git a/configure/os/CONFIG.Common.V67-ppc604 b/configure/os/CONFIG.Common.V67-ppc604 new file mode 100644 index 000000000..49e7329fc --- /dev/null +++ b/configure/os/CONFIG.Common.V67-ppc604 @@ -0,0 +1,5 @@ +include $(CONFIG)/os/CONFIG.Common.vxWorks-ppc604_long +VXWORKS_VERSION = 6.7 + +#needed when including memPartLib.h, e.g. through moduleLib.h or loadLib.h +ARCH_DEP_CFLAGS += -D_VSB_CONFIG_FILE='<../lib/h/config/vsbConfig.h>' diff --git a/configure/os/CONFIG.Common.eldk42-ppc4xxFP b/configure/os/CONFIG.Common.eldk42-ppc4xxFP new file mode 100644 index 000000000..001b9df7a --- /dev/null +++ b/configure/os/CONFIG.Common.eldk42-ppc4xxFP @@ -0,0 +1,22 @@ +# DeltaTau PowerPMAC with ELDK 4.2 + +# Include definitions common to all Linux targets +include $(CONFIG)/os/CONFIG.Common.linuxCommon + +COMMANDLINE_LIBRARY = READLINE_NCURSES + +ARCH_CLASS = ppc + +ELDK=/opt/eldk-4.2 +GNU_TARGET=ppc_4xxFP +GNU_DIR=$(ELDK)/usr + +# This cross tool chain is installed in a somehow weired way +# Without the following lines it does not work on RHEL7 +# but it worked on SL6 +ARCH_DEP_CXXFLAGS += -I $(ELDK)/$(GNU_TARGET)/usr/include/c++/4.2.2 +ARCH_DEP_CXXFLAGS += -I $(ELDK)/$(GNU_TARGET)/usr/include/c++/4.2.2/powerpc-linux +ARCH_DEP_CXXFLAGS += -I $(ELDK)/$(GNU_TARGET)/usr/include/c++/4.2.2/backward + +ARCH_DEP_LDFLAGS += -Wl,-rpath-link,$(ELDK)/$(GNU_TARGET)/lib +ARCH_DEP_LDFLAGS += -Wl,-rpath-link,$(ELDK)/$(GNU_TARGET)/usr/lib diff --git a/configure/os/CONFIG.Common.eldk51-ppc4xxSF b/configure/os/CONFIG.Common.eldk51-ppc4xxSF new file mode 100644 index 000000000..276e5b99e --- /dev/null +++ b/configure/os/CONFIG.Common.eldk51-ppc4xxSF @@ -0,0 +1,16 @@ +# Virtex FPGA embedded Processor with ELDK 5.1 + +# Include definitions common to all Linux targets +include $(CONFIG)/os/CONFIG.Common.linuxCommon + +COMMANDLINE_LIBRARY = READLINE + +ARCH_CLASS = ppc + +SDK = eldk +SDK_DIR = /opt/eldk-5.1 +SDK_HOST_ARCH = $(GNU_HOST_ARCH)-$(SDK)-$(GNU_HOST_OS) +GNU_TARGET = powerpc-4xx-softfloat +GNU_ARCH = ppc405-linux +GNU_DIR = $(SDK_DIR)/$(GNU_TARGET)/sysroots/$(SDK_HOST_ARCH)/usr +GNU_BIN = $(GNU_DIR)/bin/$(GNU_ARCH) diff --git a/configure/os/CONFIG.Common.eldk52-e500v2 b/configure/os/CONFIG.Common.eldk52-e500v2 new file mode 100644 index 000000000..fc6e21e9e --- /dev/null +++ b/configure/os/CONFIG.Common.eldk52-e500v2 @@ -0,0 +1,17 @@ +# IOxOS IFC1210 with ELDK 5.2 + +# Include definitions common to all Linux targets +include $(CONFIG)/os/CONFIG.Common.linuxCommon + +COMMANDLINE_LIBRARY = READLINE + +ARCH_CLASS = ppc + +SDK = eldk +SDK_DIR = /opt/eldk-5.2 +SDK_HOST_ARCH = $(GNU_HOST_ARCH)-$(SDK)-$(GNU_HOST_OS) +GNU_TARGET = powerpc-e500v2 +GNU_ARCH = ppce500v2-linux-gnuspe +GNU_DIR = $(SDK_DIR)/$(GNU_TARGET)/sysroots/$(SDK_HOST_ARCH)/usr +GNU_BIN = $(GNU_DIR)/bin/$(GNU_ARCH) +GNU_TARGET_INCLUDE_DIR = diff --git a/configure/os/CONFIG.Common.eldk53-ppc4xxFP b/configure/os/CONFIG.Common.eldk53-ppc4xxFP new file mode 100644 index 000000000..e45aa16a4 --- /dev/null +++ b/configure/os/CONFIG.Common.eldk53-ppc4xxFP @@ -0,0 +1,23 @@ +# DeltaTau PowerPMAC with ELDK 5.2 + +# Include definitions common to all Linux targets +include $(CONFIG)/os/CONFIG.Common.linuxCommon + +COMMANDLINE_LIBRARY = READLINE + +ARCH_CLASS = ppc + +SDK = eldk +SDK_DIR = /opt/eldk-5.3 +SDK_HOST_ARCH = $(GNU_HOST_ARCH)-$(SDK)-$(GNU_HOST_OS) +GNU_ARCH = ppc440e-linux +SDKTARGETSYSROOT=$(SDK_DIR)/powerpc-4xx/sysroots +GNU_DIR = $(SDKTARGETSYSROOT)/$(SDK_HOST_ARCH)/usr +GNU_BIN = $(GNU_DIR)/bin/$(GNU_ARCH) +GNU_TARGET_INCLUDE_DIR = +GNU_TARGET=powerpc-linux + +ARCH_DEP_CPPFLAGS = -m32 -mcpu=440fp -mhard-float +ARCH_DEP_CPPFLAGS += --sysroot=$(SDKTARGETSYSROOT)/$(GNU_ARCH) +ARCH_DEP_LDFLAGS = --sysroot=$(SDKTARGETSYSROOT)/$(GNU_ARCH) +AS=$(GNU_BIN)/$(GNU_TARGET)-as diff --git a/configure/os/CONFIG.Common.fslqoriq20-e6500_64 b/configure/os/CONFIG.Common.fslqoriq20-e6500_64 new file mode 100644 index 000000000..7c2a615d2 --- /dev/null +++ b/configure/os/CONFIG.Common.fslqoriq20-e6500_64 @@ -0,0 +1,25 @@ +# IOxOS IFC1211 with Freescale QorIQ 2.0 toolchain + +# Include definitions common to all Linux targets +include $(CONFIG)/os/CONFIG.Common.linuxCommon + +COMMANDLINE_LIBRARY = READLINE + +ARCH_CLASS = ppc + +SDK = fslsdk +SDK_DIR = /opt/fsl-qoriq/2.0 +SDK_HOST_ARCH = $(GNU_HOST_ARCH_64)-$(SDK)-$(GNU_HOST_OS) +SDK_TARGET = ppc64e6500-fsl-linux +GNU_TARGET = powerpc64-fsl-linux +SDKTARGETSYSROOT = $(SDK_DIR)/sysroots/$(SDK_TARGET) +GNU_DIR = $(SDK_DIR)/sysroots/$(SDK_HOST_ARCH)/usr +GNU_BIN = $(GNU_DIR)/bin/$(GNU_TARGET) + +ARCH_DEP_CPPFLAGS = --sysroot=$(SDKTARGETSYSROOT) +ARCH_DEP_CFLAGS = -mcpu=e6500 -m64 -mhard-float +ARCH_DEP_LDFLAGS = --sysroot=$(SDKTARGETSYSROOT) + +# warning -O2 and higher are broken! +#OPT_CFLAGS_YES = -O1 +#OPT_CXXFLAGS_YES = -O1 diff --git a/configure/os/CONFIG.Common.linux-clang b/configure/os/CONFIG.Common.linux-clang new file mode 100644 index 000000000..b69d16d5e --- /dev/null +++ b/configure/os/CONFIG.Common.linux-clang @@ -0,0 +1,5 @@ +include $(CONFIG)/os/CONFIG.Common.linuxCommon +GNU = NO +CMPLR_CLASS = clang +CC = clang +CCC = clang++ diff --git a/configure/os/CONFIG.Common.moxa42-armv6l b/configure/os/CONFIG.Common.moxa42-armv6l new file mode 100644 index 000000000..eecdcc7c1 --- /dev/null +++ b/configure/os/CONFIG.Common.moxa42-armv6l @@ -0,0 +1,16 @@ +# Moxa DA-66x with SDK 4.2 and ARM7 processor + +# Include definitions common to all Linux ARM targets +include $(CONFIG)/os/CONFIG.Common.linux-arm + +GNU_DIR=/afs/psi.ch/project/embeddedlinux/moxa/arm-linux-4.4.2-v4 +GNU_TARGET=arm +ARCH_DEP_LDFLAGS+=-Wl,-rpath-link,$(GNU_DIR)/arm-none-linux-gnueabi/lib +ARCH_DEP_LDFLAGS+=-Wl,-rpath-link,$(INSTALL_LIB) + +COMMANDLINE_LIBRARY = READLINE_NCURSES + +# suppress note "the mangling of 'va_list' has changed in GCC 4.4" +ARCH_DEP_CXXFLAGS += -Wno-psabi + +ARCH_DEP_CFLAGS += -funwind-tables diff --git a/configure/os/CONFIG.Common.mvl40-xscale_be b/configure/os/CONFIG.Common.mvl40-xscale_be new file mode 100644 index 000000000..3606ab4cf --- /dev/null +++ b/configure/os/CONFIG.Common.mvl40-xscale_be @@ -0,0 +1,12 @@ +# Moxa DA-66x with Montavista Linux 4.0 + +# Include definitions common to all Linux targets +include $(CONFIG)/os/CONFIG.Common.linuxCommon + +COMMANDLINE_LIBRARY = READLINE_CURSES + +ARCH_CLASS = xscale + +GNU_DIR=/afs/psi.ch/project/embeddedlinux/moxa/xscale_be/armv5teb-montavista-linuxeabi + +ARCH_DEP_CFLAGS += -funwind-tables diff --git a/configure/os/CONFIG.Common.yocto21-aarch64 b/configure/os/CONFIG.Common.yocto21-aarch64 new file mode 100644 index 000000000..417e11a4c --- /dev/null +++ b/configure/os/CONFIG.Common.yocto21-aarch64 @@ -0,0 +1,20 @@ +# XILINX Zynq with Yocto 2.1 / Petalinux toolchain + +# Include definitions common to all Linux targets +include $(CONFIG)/os/CONFIG.Common.linuxCommon + +COMMANDLINE_LIBRARY = READLINE + +ARCH_CLASS = arm64 + +SDK = petalinux +SDK_DIR = /opt/petalinux-gfa/2017.2 +SDK_HOST_ARCH = $(GNU_HOST_ARCH_64)-$(SDK)-$(GNU_HOST_OS) +SDK_TARGET = aarch64-xilinx-linux +GNU_TARGET = $(SDK_TARGET) +SDKTARGETSYSROOT = $(SDK_DIR)/sysroots/$(SDK_TARGET) +GNU_DIR = $(SDK_DIR)/sysroots/$(SDK_HOST_ARCH)/usr +GNU_BIN = $(GNU_DIR)/bin/$(GNU_TARGET) + +ARCH_DEP_CPPFLAGS = --sysroot=$(SDKTARGETSYSROOT) +ARCH_DEP_LDFLAGS = --sysroot=$(SDKTARGETSYSROOT) diff --git a/configure/os/CONFIG.RHEL7-x86_64.Common b/configure/os/CONFIG.RHEL7-x86_64.Common new file mode 100644 index 000000000..26c65b727 --- /dev/null +++ b/configure/os/CONFIG.RHEL7-x86_64.Common @@ -0,0 +1,3 @@ +#CONFIG.$(EPICS_HOST_ARCH).Common is required by build system +#Include definitions common to linux hosts +include $(CONFIG)/os/CONFIG.linux-x86_64.Common diff --git a/configure/os/CONFIG.RHEL7-x86_64.RHEL7-x86_64 b/configure/os/CONFIG.RHEL7-x86_64.RHEL7-x86_64 new file mode 100644 index 000000000..2bf7aace1 --- /dev/null +++ b/configure/os/CONFIG.RHEL7-x86_64.RHEL7-x86_64 @@ -0,0 +1,2 @@ +# Include common linux definitions +include $(CONFIG)/os/CONFIG.linux-x86.linux-x86 diff --git a/configure/os/CONFIG.RHEL7-x86_64.SL6-x86 b/configure/os/CONFIG.RHEL7-x86_64.SL6-x86 new file mode 100644 index 000000000..98bbce113 --- /dev/null +++ b/configure/os/CONFIG.RHEL7-x86_64.SL6-x86 @@ -0,0 +1,14 @@ +# "cross compile" for older Linux version +# Use older compiler and older libraries +# Used packages: +# compat-gcc-44-c++-4.4 +# compat-gcc-44-4.4 +# compat-glibc-headers-2.12-4 +# It was neccessary to install 32 bit compatibility libraries manually +#------------------------------------------------------- + +include $(CONFIG)/os/CONFIG.linux-x86.linux-x86 +CC = $(GNU_BIN)/$(CMPLR_PREFIX)gcc44 +CCC = $(GNU_BIN)/$(CMPLR_PREFIX)g++44 +TARGET_LDFLAGS = -L /usr/lib/x86_64-redhat-linux6E/lib +LINK.cpp += --as-needed -lc -lm -lrt -lpthread -lreadline -ltinfo diff --git a/configure/os/CONFIG.RHEL7-x86_64.SL6-x86_64 b/configure/os/CONFIG.RHEL7-x86_64.SL6-x86_64 new file mode 100644 index 000000000..ad01fa3ee --- /dev/null +++ b/configure/os/CONFIG.RHEL7-x86_64.SL6-x86_64 @@ -0,0 +1,14 @@ +# "cross compile" for older Linux version +# Use older compiler and older libraries +# Used packages: +# compat-gcc-44-c++-4.4 +# compat-gcc-44-4.4 +# compat-glibc-headers-2.12-4 +# compat-glibc-2.12-4 +#------------------------------------------------------- + +include $(CONFIG)/os/CONFIG.linux-x86.linux-x86 +CC = $(GNU_BIN)/$(CMPLR_PREFIX)gcc44 +CCC = $(GNU_BIN)/$(CMPLR_PREFIX)g++44 +TARGET_LDFLAGS = -L /usr/lib/x86_64-redhat-linux6E/lib64 +LINK.cpp += --as-needed -lc -lm -lrt -lpthread -lreadline -ltinfo diff --git a/configure/os/CONFIG.SL5-x86.Common b/configure/os/CONFIG.SL5-x86.Common new file mode 100644 index 000000000..cc10355d3 --- /dev/null +++ b/configure/os/CONFIG.SL5-x86.Common @@ -0,0 +1,3 @@ +#CONFIG.$(EPICS_HOST_ARCH).Common is required by build system +#Include definitions common to linux hosts +include $(CONFIG)/os/CONFIG.linux-x86.Common diff --git a/configure/os/CONFIG.SL5-x86.SL5-x86 b/configure/os/CONFIG.SL5-x86.SL5-x86 new file mode 100644 index 000000000..2bf7aace1 --- /dev/null +++ b/configure/os/CONFIG.SL5-x86.SL5-x86 @@ -0,0 +1,2 @@ +# Include common linux definitions +include $(CONFIG)/os/CONFIG.linux-x86.linux-x86 diff --git a/configure/os/CONFIG.SL5-x86_64.Common b/configure/os/CONFIG.SL5-x86_64.Common new file mode 100644 index 000000000..26c65b727 --- /dev/null +++ b/configure/os/CONFIG.SL5-x86_64.Common @@ -0,0 +1,3 @@ +#CONFIG.$(EPICS_HOST_ARCH).Common is required by build system +#Include definitions common to linux hosts +include $(CONFIG)/os/CONFIG.linux-x86_64.Common diff --git a/configure/os/CONFIG.SL5-x86_64.SL5-x86_64 b/configure/os/CONFIG.SL5-x86_64.SL5-x86_64 new file mode 100644 index 000000000..2bf7aace1 --- /dev/null +++ b/configure/os/CONFIG.SL5-x86_64.SL5-x86_64 @@ -0,0 +1,2 @@ +# Include common linux definitions +include $(CONFIG)/os/CONFIG.linux-x86.linux-x86 diff --git a/configure/os/CONFIG.SL6-x86.Common b/configure/os/CONFIG.SL6-x86.Common new file mode 100644 index 000000000..183caedd7 --- /dev/null +++ b/configure/os/CONFIG.SL6-x86.Common @@ -0,0 +1,2 @@ +#CONFIG.$(EPICS_HOST_ARCH).Common is required by build system +#Include definitions common to linux hosts diff --git a/configure/os/CONFIG.SL6-x86.SL6-x86 b/configure/os/CONFIG.SL6-x86.SL6-x86 new file mode 100644 index 000000000..2bf7aace1 --- /dev/null +++ b/configure/os/CONFIG.SL6-x86.SL6-x86 @@ -0,0 +1,2 @@ +# Include common linux definitions +include $(CONFIG)/os/CONFIG.linux-x86.linux-x86 diff --git a/configure/os/CONFIG.SL6-x86_64.Common b/configure/os/CONFIG.SL6-x86_64.Common new file mode 100644 index 000000000..26c65b727 --- /dev/null +++ b/configure/os/CONFIG.SL6-x86_64.Common @@ -0,0 +1,3 @@ +#CONFIG.$(EPICS_HOST_ARCH).Common is required by build system +#Include definitions common to linux hosts +include $(CONFIG)/os/CONFIG.linux-x86_64.Common diff --git a/configure/os/CONFIG.SL6-x86_64.SL6-x86 b/configure/os/CONFIG.SL6-x86_64.SL6-x86 new file mode 100644 index 000000000..2bf7aace1 --- /dev/null +++ b/configure/os/CONFIG.SL6-x86_64.SL6-x86 @@ -0,0 +1,2 @@ +# Include common linux definitions +include $(CONFIG)/os/CONFIG.linux-x86.linux-x86 diff --git a/configure/os/CONFIG.SL6-x86_64.SL6-x86_64 b/configure/os/CONFIG.SL6-x86_64.SL6-x86_64 new file mode 100644 index 000000000..2bf7aace1 --- /dev/null +++ b/configure/os/CONFIG.SL6-x86_64.SL6-x86_64 @@ -0,0 +1,2 @@ +# Include common linux definitions +include $(CONFIG)/os/CONFIG.linux-x86.linux-x86 diff --git a/configure/os/CONFIG_SITE.Common.vxWorksCommon b/configure/os/CONFIG_SITE.Common.vxWorksCommon index 0b0654aeb..345420381 100644 --- a/configure/os/CONFIG_SITE.Common.vxWorksCommon +++ b/configure/os/CONFIG_SITE.Common.vxWorksCommon @@ -21,5 +21,6 @@ VXWORKS_VERSION = 6.9 # WIND_BASE is where you installed the Wind River software. #WIND_BASE = /usr/local/vw/tornado22-$(ARCH_CLASS) -WIND_BASE = /usr/local/vw/vxWorks-$(VXWORKS_VERSION) +#WIND_BASE = /usr/local/vw/vxWorks-$(VXWORKS_VERSION) #WIND_BASE = /ade/vxWorks/$(VXWORKS_VERSION) +WIND_BASE = /afs/psi.ch/project/vxworks/VxWorks$(VXWORKS_VERSION) diff --git a/configure/os/CONFIG_SITE.RHEL7-x86_64.Common b/configure/os/CONFIG_SITE.RHEL7-x86_64.Common new file mode 100644 index 000000000..70e181229 --- /dev/null +++ b/configure/os/CONFIG_SITE.RHEL7-x86_64.Common @@ -0,0 +1,13 @@ +include $(CONFIG)/os/CONFIG_SITE.linux-x86_64.Common + +# Build 32 bit version as a cross architecture +#CROSS_COMPILER_TARGET_ARCHS += RHEL7-x86 + +# Improved error checking with clang +CROSS_COMPILER_TARGET_ARCHS += RHEL7-x86_64-clang + +# Build for old SL6 64 bit +CROSS_COMPILER_TARGET_ARCHS += SL6-x86_64 + +# Build for old SL6 32 bit +CROSS_COMPILER_TARGET_ARCHS += SL6-x86 diff --git a/configure/os/CONFIG_SITE.SL5-x86.Common b/configure/os/CONFIG_SITE.SL5-x86.Common new file mode 100644 index 000000000..332cebc34 --- /dev/null +++ b/configure/os/CONFIG_SITE.SL5-x86.Common @@ -0,0 +1 @@ +include $(CONFIG)/os/CONFIG_SITE.linux-x86.Common diff --git a/configure/os/CONFIG_SITE.SL5-x86_64.Common b/configure/os/CONFIG_SITE.SL5-x86_64.Common new file mode 100644 index 000000000..ce1584300 --- /dev/null +++ b/configure/os/CONFIG_SITE.SL5-x86_64.Common @@ -0,0 +1,3 @@ +include $(CONFIG)/os/CONFIG_SITE.linux-x86.Common +# Build 32 bit version as a cross architecture +CROSS_COMPILER_TARGET_ARCHS += SL5-x86 diff --git a/configure/os/CONFIG_SITE.SL6-x86.Common b/configure/os/CONFIG_SITE.SL6-x86.Common new file mode 100644 index 000000000..332cebc34 --- /dev/null +++ b/configure/os/CONFIG_SITE.SL6-x86.Common @@ -0,0 +1 @@ +include $(CONFIG)/os/CONFIG_SITE.linux-x86.Common diff --git a/configure/os/CONFIG_SITE.SL6-x86_64.Common b/configure/os/CONFIG_SITE.SL6-x86_64.Common new file mode 100644 index 000000000..9d8cb9f96 --- /dev/null +++ b/configure/os/CONFIG_SITE.SL6-x86_64.Common @@ -0,0 +1,7 @@ +# Build 32 bit version as a cross architecture +CROSS_COMPILER_TARGET_ARCHS += SL6-x86 + +# Improved error checking with clang +CROSS_COMPILER_TARGET_ARCHS += SL6-x86_64-clang + +include $(CONFIG)/os/CONFIG_SITE.linux-x86_64.Common diff --git a/configure/os/CONFIG_SITE.linux-x86.Common b/configure/os/CONFIG_SITE.linux-x86.Common index dc29e8f0d..f2f68d6e7 100644 --- a/configure/os/CONFIG_SITE.linux-x86.Common +++ b/configure/os/CONFIG_SITE.linux-x86.Common @@ -1,9 +1,40 @@ -# CONFIG_SITE.linux-x86.Common -# -# Site override definitions for linux-x86 host builds -#------------------------------------------------------- +INSTALL_LOCATION=/usr/local/epics/base-7.0.1 +#EPICS_SITE_VERSION:=$(shell date +%Y-%m-%d) + +GNU_HOST_ARCH=i686 +GNU_HOST_OS=linux + +# EPICS 7 does not support vxWorks 5 +CROSS_COMPILER_TARGET_ARCHS += T2-ppc604 + +# gcc 3.3.2 too old: +# does not understand template_function(args) call +CROSS_COMPILER_TARGET_ARCHS += V62-ppc604 + +# vxWorks 6.7 for MVxxxx boards +CROSS_COMPILER_TARGET_ARCHS += V67-ppc604 + +# NI compact RIO +CROSS_COMPILER_TARGET_ARCHS += V63-ppc603 + +# MOXA montavista linux +#CROSS_COMPILER_TARGET_ARCHS += mvl40-xscale_be + +# MOXA SDK 4.2 +CROSS_COMPILER_TARGET_ARCHS += moxa42-armv6l + +# Virtex embedded PPC +CROSS_COMPILER_TARGET_ARCHS += eldk51-ppc4xxSF + +# IOxOS IFC1210 +CROSS_COMPILER_TARGET_ARCHS += eldk52-e500v2 + +# DeltaTau PowerPMAC +CROSS_COMPILER_TARGET_ARCHS += eldk42-ppc4xxFP +#CROSS_COMPILER_TARGET_ARCHS += eldk53-ppc4xxFP + +# Test other vxWorks versions +CROSS_COMPILER_TARGET_ARCHS += V66-ppc603 +CROSS_COMPILER_TARGET_ARCHS += V66-ppc604 +CROSS_COMPILER_TARGET_ARCHS += V63-ppc604 -# JBA test override values -#CROSS_COMPILER_TARGET_ARCHS = vxWorks-68040 solaris-sparc -#CROSS_COMPILER_TARGET_ARCHS = vxWorks-68040 -#CROSS_COMPILER_TARGET_ARCHS = RTEMS-mvme2100 RTEMS-pc386 # RTEMS-mvme5500 RTEMS-mvme167 diff --git a/configure/os/CONFIG_SITE.linux-x86_64.Common b/configure/os/CONFIG_SITE.linux-x86_64.Common index 244e163b4..45ad38dc4 100644 --- a/configure/os/CONFIG_SITE.linux-x86_64.Common +++ b/configure/os/CONFIG_SITE.linux-x86_64.Common @@ -1,9 +1,9 @@ -# CONFIG_SITE.linux-x86_64.Common -# -# Site override definitions for linux-x86_64 host builds -#------------------------------------------------------- +include $(CONFIG)/os/CONFIG_SITE.linux-x86.Common -#CROSS_COMPILER_TARGET_ARCHS = vxWorks-68040 solaris-sparc -#CROSS_COMPILER_TARGET_ARCHS = vxWorks-68040 -#CROSS_COMPILER_TARGET_ARCHS = RTEMS-mvme2100 +GNU_HOST_ARCH_64=x86_64 +# IOxOS IFC1211 +CROSS_COMPILER_TARGET_ARCHS += fslqoriq20-e6500_64 + +# Zynq +CROSS_COMPILER_TARGET_ARCHS += yocto21-aarch64