From db89c1f463100321005e45466d31daab776af437 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Tue, 5 Apr 2011 12:12:47 -0500 Subject: [PATCH] Added generic PPC32 targets for vxWorks 6. --- configure/os/CONFIG.Common.vxWorks-ppc32 | 24 ++++++++++++++++++++++ configure/os/CONFIG.Common.vxWorks-ppc32sf | 13 ++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 configure/os/CONFIG.Common.vxWorks-ppc32 create mode 100644 configure/os/CONFIG.Common.vxWorks-ppc32sf diff --git a/configure/os/CONFIG.Common.vxWorks-ppc32 b/configure/os/CONFIG.Common.vxWorks-ppc32 new file mode 100644 index 000000000..a8508758b --- /dev/null +++ b/configure/os/CONFIG.Common.vxWorks-ppc32 @@ -0,0 +1,24 @@ +# $Revision-Id$ +# +# Definitions for vxWorks-ppc603 targets with >32MB of RAM +# Site-specific overrides go in CONFIG_SITE.Common.vxWorks-ppc603_long +# +# This file is maintained by the EPICS build community. +#------------------------------------------------------- + +# 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 = -mstrict-align + +GNU_TARGET = powerpc-wrs-vxworks + +# Tell compiler to generate long branches +ARCH_DEP_CFLAGS += -mlongcall diff --git a/configure/os/CONFIG.Common.vxWorks-ppc32sf b/configure/os/CONFIG.Common.vxWorks-ppc32sf new file mode 100644 index 000000000..0c1dccd84 --- /dev/null +++ b/configure/os/CONFIG.Common.vxWorks-ppc32sf @@ -0,0 +1,13 @@ +# $Revision-Id$ +# +# Definitions for vxWorks-ppc32sf targets +# Site-specific overrides go in CONFIG_SITE.Common.vxWorks-ppc32sf +# +# This file is maintained by the EPICS build community. +#------------------------------------------------------- + +# Inherit the settings from vxWorks-ppc32 +include $(CONFIG)/os/CONFIG.Common.vxWorks-ppc32 + +# Tell compiler to use software floating-point +ARCH_DEP_CFLAGS += -msoft-float