From 3d056f63e4f527c0b14e1c30df8488d0316a4364 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Tue, 15 Feb 2011 16:19:26 -0600 Subject: [PATCH] configure: Added vxWorks-mpc8548 target (MVME4100) Config files from Ernest Williams. --- configure/os/CONFIG.Common.vxWorks-mpc8540 | 9 ++++--- configure/os/CONFIG.Common.vxWorks-mpc8548 | 26 +++++++++++++++++++ .../os/CONFIG.Common.vxWorks-mpc8548-debug | 14 ++++++++++ .../os/CONFIG_SITE.Common.vxWorks-mpc8548 | 6 +++++ 4 files changed, 51 insertions(+), 4 deletions(-) create mode 100644 configure/os/CONFIG.Common.vxWorks-mpc8548 create mode 100644 configure/os/CONFIG.Common.vxWorks-mpc8548-debug create mode 100644 configure/os/CONFIG_SITE.Common.vxWorks-mpc8548 diff --git a/configure/os/CONFIG.Common.vxWorks-mpc8540 b/configure/os/CONFIG.Common.vxWorks-mpc8540 index 057fd4c67..2b684417b 100644 --- a/configure/os/CONFIG.Common.vxWorks-mpc8540 +++ b/configure/os/CONFIG.Common.vxWorks-mpc8540 @@ -1,9 +1,10 @@ +# CONFIG.Common.vxWorks-mpc8540 +# # $Revision-Id$ +# This file is maintained by the build community. # -# Definitions for vxWorks-mpc8540 targets: MPC8540 CPU with >32MB RAM. -# Site-specific overrides go in CONFIG_SITE.Common.vxWorks-mpc8540 -# -# This file is maintained by the EPICS build community. +# Definitions for vxWorks-mpc8540 target archs +# Sites may override these definitions in CONFIG_SITE.Common.vxWorks-mpc8540 #------------------------------------------------------- # Include definitions common to all vxWorks target archs diff --git a/configure/os/CONFIG.Common.vxWorks-mpc8548 b/configure/os/CONFIG.Common.vxWorks-mpc8548 new file mode 100644 index 000000000..1dd6a1c3b --- /dev/null +++ b/configure/os/CONFIG.Common.vxWorks-mpc8548 @@ -0,0 +1,26 @@ +# CONFIG.Common.vxWorks-mpc8548 +# +# $Revision-Id$ +# This file is maintained by the build community. +# +# Definitions for vxWorks-mpc8548 target archs +# Sites may override these definitions in CONFIG_SITE.Common.vxWorks-mpc8548 +#------------------------------------------------------- + +# Include definitions common to all vxWorks target archs +include $(CONFIG)/os/CONFIG.Common.vxWorksCommon + +# Vx GNU cross compiler suffix +CMPLR_SUFFIX = ppc + +ARCH_CLASS = ppc + +# Architecture specific build flags +ARCH_DEP_CPPFLAGS = -DCPU=PPC32 +ARCH_DEP_CFLAGS = -DCPU_VARIANT=_ppc85XX_e500v2 +ARCH_DEP_CFLAGS += -mlongcall + +# This flag isn't present in early vxWorks 6.x versions +#ARCH_DEP_CFLAGS += -te500v2 + +GNU_TARGET = powerpc-wrs-vxworks diff --git a/configure/os/CONFIG.Common.vxWorks-mpc8548-debug b/configure/os/CONFIG.Common.vxWorks-mpc8548-debug new file mode 100644 index 000000000..d258a16e8 --- /dev/null +++ b/configure/os/CONFIG.Common.vxWorks-mpc8548-debug @@ -0,0 +1,14 @@ +# CONFIG.Common.vxWorks-mpc8548-debug +# +# $Revision-Id$ +# This file is maintained by the build community. +# +# Definitions for vxWorks-mpc8548-debug targets. +# Sites may override these definitions in CONFIG_SITE.Common.vxWorks-mpc8548-debug +#------------------------------------------------------- + +# Include definitions common to all vxWorks archs +include $(CONFIG)/os/CONFIG.Common.vxWorks-mpc8548 + +CROSS_OPT = NO + diff --git a/configure/os/CONFIG_SITE.Common.vxWorks-mpc8548 b/configure/os/CONFIG_SITE.Common.vxWorks-mpc8548 new file mode 100644 index 000000000..da8671436 --- /dev/null +++ b/configure/os/CONFIG_SITE.Common.vxWorks-mpc8548 @@ -0,0 +1,6 @@ +# $Revision-Id$ +# +# Site Specific definitions for the vxWorks-mpc8548 target +# +# Only the local epics system manager should modify this file +#-------------------------------------------------------