forked from Imagelibrary/rtems
bsps/powerpc: Remove libcpu/powerpc
This patch is a part of the BSP source reorganization. Update #3285.
This commit is contained in:
@@ -6,7 +6,6 @@
|
|||||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||||
|
|
||||||
RTEMS_CPU=powerpc
|
RTEMS_CPU=powerpc
|
||||||
RTEMS_CPU_MODEL=mpc7455
|
|
||||||
RTEMS_PPC_EXCEPTION_PROCESSING_MODEL=new
|
RTEMS_PPC_EXCEPTION_PROCESSING_MODEL=new
|
||||||
|
|
||||||
# This is the actual bsp directory used during the build process.
|
# This is the actual bsp directory used during the build process.
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||||
|
|
||||||
RTEMS_CPU=powerpc
|
RTEMS_CPU=powerpc
|
||||||
RTEMS_CPU_MODEL=mpc6xx
|
|
||||||
|
|
||||||
# This contains the compiler options necessary to select the CPU model
|
# This contains the compiler options necessary to select the CPU model
|
||||||
# and (hopefully) optimize for it.
|
# and (hopefully) optimize for it.
|
||||||
|
|||||||
@@ -5,11 +5,10 @@
|
|||||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||||
#
|
#
|
||||||
# FIXME: we might want to use the e300 CPU model explicitely,
|
# FIXME: we might want to use the e300 CPU model explicitely,
|
||||||
# using RTEMS_CPU_MODEL=e300 and -me300
|
# using -me300
|
||||||
# but I doubt the compiler actually generates different code
|
# but I doubt the compiler actually generates different code
|
||||||
#
|
#
|
||||||
RTEMS_CPU=powerpc
|
RTEMS_CPU=powerpc
|
||||||
RTEMS_CPU_MODEL=mpc83xx
|
|
||||||
|
|
||||||
# This contains the compiler options necessary to select the CPU model
|
# This contains the compiler options necessary to select the CPU model
|
||||||
# and (hopefully) optimize for it.
|
# and (hopefully) optimize for it.
|
||||||
|
|||||||
@@ -6,7 +6,6 @@
|
|||||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||||
|
|
||||||
RTEMS_CPU=powerpc
|
RTEMS_CPU=powerpc
|
||||||
RTEMS_CPU_MODEL=ppc405
|
|
||||||
|
|
||||||
# This contains the compiler options necessary to select the CPU model
|
# This contains the compiler options necessary to select the CPU model
|
||||||
# and (hopefully) optimize for it.
|
# and (hopefully) optimize for it.
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||||
|
|
||||||
RTEMS_CPU=powerpc
|
RTEMS_CPU=powerpc
|
||||||
RTEMS_CPU_MODEL=mpc750
|
|
||||||
|
|
||||||
# This contains the compiler options necessary to select the CPU model
|
# This contains the compiler options necessary to select the CPU model
|
||||||
# and (hopefully) optimize for it.
|
# and (hopefully) optimize for it.
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||||
|
|
||||||
RTEMS_CPU=powerpc
|
RTEMS_CPU=powerpc
|
||||||
RTEMS_CPU_MODEL=mpc6xx
|
|
||||||
|
|
||||||
# This contains the compiler options necessary to select the CPU model
|
# This contains the compiler options necessary to select the CPU model
|
||||||
# and (hopefully) optimize for it.
|
# and (hopefully) optimize for it.
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||||
|
|
||||||
RTEMS_CPU=powerpc
|
RTEMS_CPU=powerpc
|
||||||
RTEMS_CPU_MODEL=mpc8240
|
|
||||||
|
|
||||||
# This contains the compiler options necessary to select the CPU model
|
# This contains the compiler options necessary to select the CPU model
|
||||||
# and (hopefully) optimize for it.
|
# and (hopefully) optimize for it.
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||||
|
|
||||||
RTEMS_CPU=powerpc
|
RTEMS_CPU=powerpc
|
||||||
RTEMS_CPU_MODEL=mpc604
|
|
||||||
|
|
||||||
# This contains the compiler options necessary to select the CPU model
|
# This contains the compiler options necessary to select the CPU model
|
||||||
# and (hopefully) optimize for it.
|
# and (hopefully) optimize for it.
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||||
|
|
||||||
RTEMS_CPU=powerpc
|
RTEMS_CPU=powerpc
|
||||||
RTEMS_CPU_MODEL=mpc7400
|
|
||||||
|
|
||||||
# This contains the compiler options necessary to select the CPU model
|
# This contains the compiler options necessary to select the CPU model
|
||||||
# and (hopefully) optimize for it.
|
# and (hopefully) optimize for it.
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||||
|
|
||||||
RTEMS_CPU=powerpc
|
RTEMS_CPU=powerpc
|
||||||
RTEMS_CPU_MODEL=mpc604
|
|
||||||
|
|
||||||
# This contains the compiler options necessary to select the CPU model
|
# This contains the compiler options necessary to select the CPU model
|
||||||
# and (hopefully) optimize for it.
|
# and (hopefully) optimize for it.
|
||||||
|
|||||||
@@ -11,8 +11,6 @@ include $(RTEMS_ROOT)/make/custom/default.cfg
|
|||||||
|
|
||||||
RTEMS_CPU = powerpc
|
RTEMS_CPU = powerpc
|
||||||
|
|
||||||
RTEMS_CPU_MODEL = mpc55xx
|
|
||||||
|
|
||||||
CPU_CFLAGS_FLOAT ?= -msoft-float -mno-spe
|
CPU_CFLAGS_FLOAT ?= -msoft-float -mno-spe
|
||||||
|
|
||||||
# FIXME
|
# FIXME
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||||
|
|
||||||
RTEMS_CPU=powerpc
|
RTEMS_CPU=powerpc
|
||||||
RTEMS_CPU_MODEL=mpc8260
|
|
||||||
8XX_CPU_TYPE=8260
|
8XX_CPU_TYPE=8260
|
||||||
|
|
||||||
# This contains the compiler options necessary to select the CPU model
|
# This contains the compiler options necessary to select the CPU model
|
||||||
|
|||||||
@@ -6,7 +6,6 @@
|
|||||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||||
|
|
||||||
RTEMS_CPU=powerpc
|
RTEMS_CPU=powerpc
|
||||||
RTEMS_CPU_MODEL=e500
|
|
||||||
|
|
||||||
# This contains the compiler options necessary to select the CPU model
|
# This contains the compiler options necessary to select the CPU model
|
||||||
# and (hopefully) optimize for it.
|
# and (hopefully) optimize for it.
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||||
|
|
||||||
RTEMS_CPU=powerpc
|
RTEMS_CPU=powerpc
|
||||||
RTEMS_CPU_MODEL=mpc7455
|
|
||||||
|
|
||||||
# This is the actual bsp directory used during the build process.
|
# This is the actual bsp directory used during the build process.
|
||||||
RTEMS_BSP_FAMILY=mvme5500
|
RTEMS_BSP_FAMILY=mvme5500
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||||
|
|
||||||
RTEMS_CPU=powerpc
|
RTEMS_CPU=powerpc
|
||||||
RTEMS_CPU_MODEL=mpc6xx
|
|
||||||
|
|
||||||
# This contains the compiler options necessary to select the CPU model
|
# This contains the compiler options necessary to select the CPU model
|
||||||
# and (hopefully) optimize for it.
|
# and (hopefully) optimize for it.
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||||
|
|
||||||
RTEMS_CPU=powerpc
|
RTEMS_CPU=powerpc
|
||||||
RTEMS_CPU_MODEL=mpc6xx
|
|
||||||
|
|
||||||
# This contains the compiler options necessary to select the CPU model
|
# This contains the compiler options necessary to select the CPU model
|
||||||
# and (hopefully) optimize for it.
|
# and (hopefully) optimize for it.
|
||||||
|
|||||||
@@ -6,8 +6,6 @@ include $(RTEMS_ROOT)/make/custom/default.cfg
|
|||||||
|
|
||||||
RTEMS_CPU = powerpc
|
RTEMS_CPU = powerpc
|
||||||
|
|
||||||
RTEMS_CPU_MODEL = qoriq
|
|
||||||
|
|
||||||
CPU_CFLAGS = -mcpu=8540 -meabi -msdata=sysv -fno-common -mstrict-align \
|
CPU_CFLAGS = -mcpu=8540 -meabi -msdata=sysv -fno-common -mstrict-align \
|
||||||
-mspe -mabi=spe -mfloat-gprs=double \
|
-mspe -mabi=spe -mfloat-gprs=double \
|
||||||
-D__ppc_generic
|
-D__ppc_generic
|
||||||
|
|||||||
@@ -4,8 +4,6 @@ include $(RTEMS_ROOT)/make/custom/default.cfg
|
|||||||
|
|
||||||
RTEMS_CPU = powerpc
|
RTEMS_CPU = powerpc
|
||||||
|
|
||||||
RTEMS_CPU_MODEL = qoriq
|
|
||||||
|
|
||||||
CPU_CFLAGS = -mcpu=e6500 -m32 -msdata=sysv -fno-common \
|
CPU_CFLAGS = -mcpu=e6500 -m32 -msdata=sysv -fno-common \
|
||||||
-D__ppc_generic
|
-D__ppc_generic
|
||||||
|
|
||||||
|
|||||||
@@ -5,8 +5,6 @@ include $(RTEMS_ROOT)/make/custom/default.cfg
|
|||||||
|
|
||||||
RTEMS_CPU = powerpc
|
RTEMS_CPU = powerpc
|
||||||
|
|
||||||
RTEMS_CPU_MODEL = qoriq
|
|
||||||
|
|
||||||
CPU_CFLAGS = -mcpu=e6500 -m64 -fno-common \
|
CPU_CFLAGS = -mcpu=e6500 -m64 -fno-common \
|
||||||
-D__ppc_generic
|
-D__ppc_generic
|
||||||
|
|
||||||
|
|||||||
@@ -11,12 +11,11 @@ include $(RTEMS_ROOT)/make/custom/default.cfg
|
|||||||
|
|
||||||
RTEMS_CPU=powerpc
|
RTEMS_CPU=powerpc
|
||||||
GCC_CPU_MODEL=505
|
GCC_CPU_MODEL=505
|
||||||
RTEMS_CPU_MODEL=mpc555
|
|
||||||
|
|
||||||
# This contains the compiler options necessary to select the CPU model
|
# This contains the compiler options necessary to select the CPU model
|
||||||
# and (hopefully) optimize for it.
|
# and (hopefully) optimize for it.
|
||||||
#
|
#
|
||||||
CPU_CFLAGS = -mcpu=$(GCC_CPU_MODEL) -D$(RTEMS_CPU_MODEL)
|
CPU_CFLAGS = -mcpu=$(GCC_CPU_MODEL) -Dmpc555
|
||||||
|
|
||||||
# optimize flag: typically -O2
|
# optimize flag: typically -O2
|
||||||
CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions
|
CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||||
|
|
||||||
RTEMS_CPU=powerpc
|
RTEMS_CPU=powerpc
|
||||||
RTEMS_CPU_MODEL=mpc860
|
|
||||||
|
|
||||||
CPU_CFLAGS = -mcpu=860 -Dmpc860 \
|
CPU_CFLAGS = -mcpu=860 -Dmpc860 \
|
||||||
-mstrict-align -fno-strict-aliasing \
|
-mstrict-align -fno-strict-aliasing \
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||||
|
|
||||||
RTEMS_CPU=powerpc
|
RTEMS_CPU=powerpc
|
||||||
RTEMS_CPU_MODEL=ppc405
|
|
||||||
|
|
||||||
# This contains the compiler options necessary to select the CPU model
|
# This contains the compiler options necessary to select the CPU model
|
||||||
# and (hopefully) optimize for it.
|
# and (hopefully) optimize for it.
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||||
|
|
||||||
RTEMS_CPU=powerpc
|
RTEMS_CPU=powerpc
|
||||||
RTEMS_CPU_MODEL=ppc405
|
|
||||||
|
|
||||||
# This contains the compiler options necessary to select the CPU model
|
# This contains the compiler options necessary to select the CPU model
|
||||||
# and (hopefully) optimize for it.
|
# and (hopefully) optimize for it.
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||||
|
|
||||||
RTEMS_CPU=powerpc
|
RTEMS_CPU=powerpc
|
||||||
RTEMS_CPU_MODEL=ppc440
|
|
||||||
|
|
||||||
# This contains the compiler options necessary to select the CPU model
|
# This contains the compiler options necessary to select the CPU model
|
||||||
# and (hopefully) optimize for it.
|
# and (hopefully) optimize for it.
|
||||||
|
|||||||
@@ -1,9 +0,0 @@
|
|||||||
ACLOCAL_AMFLAGS = -I ../../../aclocal
|
|
||||||
|
|
||||||
include $(top_srcdir)/../../../automake/compile.am
|
|
||||||
|
|
||||||
EXTRA_DIST =
|
|
||||||
|
|
||||||
noinst_PROGRAMS =
|
|
||||||
|
|
||||||
include $(top_srcdir)/../../../automake/local.am
|
|
||||||
@@ -1,26 +0,0 @@
|
|||||||
This hierarchy contains support routines for some of
|
|
||||||
the varied and quite numerous PowerPC processors
|
|
||||||
available from IBM and Motorola.
|
|
||||||
|
|
||||||
Since these routines can differ amongst different members
|
|
||||||
of the PowerPC family, an entry per CPU type is provided.
|
|
||||||
|
|
||||||
At this time, support is included for the following PowerPC
|
|
||||||
family members using the new exception processing model:
|
|
||||||
|
|
||||||
+ mpc505
|
|
||||||
+ mpc5xx (5xx devices other than 505/509)
|
|
||||||
+ mpc6xx
|
|
||||||
+ mpc750
|
|
||||||
+ mpc821
|
|
||||||
+ mpc823 (uses mpc821 directory)
|
|
||||||
+ mpc850 (uses mpc860 directory)
|
|
||||||
+ mpc860
|
|
||||||
+ mpc8260
|
|
||||||
+ ppc405
|
|
||||||
+ ppc440
|
|
||||||
|
|
||||||
Note that because of similarities in various family members,
|
|
||||||
the mpc823 should be able to use the mpc821 code and the
|
|
||||||
mpc850 should be able to use the mpc850 code.
|
|
||||||
|
|
||||||
@@ -1,78 +0,0 @@
|
|||||||
# Process this file with autoconf to produce a configure script.
|
|
||||||
|
|
||||||
AC_PREREQ([2.69])
|
|
||||||
AC_INIT([rtems-c-src-lib-libcpu-powerpc],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
|
|
||||||
AC_CONFIG_SRCDIR([mpc6xx])
|
|
||||||
RTEMS_TOP([../../../../..],[../../..])
|
|
||||||
RTEMS_SOURCE_TOP
|
|
||||||
RTEMS_BUILD_TOP
|
|
||||||
|
|
||||||
RTEMS_CANONICAL_TARGET_CPU
|
|
||||||
|
|
||||||
AM_INIT_AUTOMAKE([no-define foreign subdir-objects 1.12.2])
|
|
||||||
AM_MAINTAINER_MODE
|
|
||||||
|
|
||||||
RTEMS_ENV_RTEMSBSP
|
|
||||||
|
|
||||||
RTEMS_PROJECT_ROOT
|
|
||||||
|
|
||||||
RTEMS_PROG_CC_FOR_TARGET
|
|
||||||
AM_PROG_CC_C_O
|
|
||||||
RTEMS_CANONICALIZE_TOOLS
|
|
||||||
RTEMS_PROG_CCAS
|
|
||||||
|
|
||||||
AM_CONDITIONAL(shared, \
|
|
||||||
test "$RTEMS_CPU_MODEL" = "" \
|
|
||||||
|| test "$RTEMS_CPU_MODEL" = "mpc750" \
|
|
||||||
|| test "$RTEMS_CPU_MODEL" = "mpc7400" \
|
|
||||||
|| test "$RTEMS_CPU_MODEL" = "mpc7455" \
|
|
||||||
|| test "$RTEMS_CPU_MODEL" = "mpc555" \
|
|
||||||
|| test "$RTEMS_CPU_MODEL" = "ppc405" \
|
|
||||||
|| test "$RTEMS_CPU_MODEL" = "ppc440" \
|
|
||||||
|| test "$RTEMS_CPU_MODEL" = "mpc604" \
|
|
||||||
|| test "$RTEMS_CPU_MODEL" = "mpc6xx" \
|
|
||||||
|| test "$RTEMS_CPU_MODEL" = "mpc860" \
|
|
||||||
|| test "$RTEMS_CPU_MODEL" = "mpc8240" \
|
|
||||||
|| test "$RTEMS_CPU_MODEL" = "mpc8260" \
|
|
||||||
|| test "$RTEMS_CPU_MODEL" = "mpc83xx" \
|
|
||||||
|| test "$RTEMS_CPU_MODEL" = "qoriq" \
|
|
||||||
|| test "$RTEMS_CPU_MODEL" = "e500")
|
|
||||||
|
|
||||||
# test on CPU type
|
|
||||||
AM_CONDITIONAL(mpc5xx, test "$RTEMS_CPU_MODEL" = "mpc555" )
|
|
||||||
AM_CONDITIONAL(mpc6xx, test "$RTEMS_CPU_MODEL" = "mpc6xx" \
|
|
||||||
|| test "$RTEMS_CPU_MODEL" = "mpc604" \
|
|
||||||
|| test "$RTEMS_CPU_MODEL" = "mpc7400" \
|
|
||||||
|| test "$RTEMS_CPU_MODEL" = "mpc7455" \
|
|
||||||
|| test "$RTEMS_CPU_MODEL" = "mpc750" \
|
|
||||||
|| test "$RTEMS_CPU_MODEL" = "mpc8240" \
|
|
||||||
|| test "$RTEMS_CPU_MODEL" = "mpc83xx")
|
|
||||||
AM_CONDITIONAL(mpc8xx, test "$RTEMS_CPU_MODEL" = "mpc860" )
|
|
||||||
AM_CONDITIONAL(mpc8260, test "$RTEMS_CPU_MODEL" = "mpc8260")
|
|
||||||
AM_CONDITIONAL(mpc83xx, test "$RTEMS_CPU_MODEL" = "mpc83xx")
|
|
||||||
AM_CONDITIONAL(qoriq, test "$RTEMS_CPU_MODEL" = "qoriq")
|
|
||||||
|
|
||||||
# the ppc405 share files with the ppc403
|
|
||||||
AM_CONDITIONAL(ppc405, test "$RTEMS_CPU_MODEL" = "ppc405")
|
|
||||||
AM_CONDITIONAL(ppc440, test "$RTEMS_CPU_MODEL" = "ppc440")
|
|
||||||
AM_CONDITIONAL(ppc4xx, test "$RTEMS_CPU_MODEL" = "ppc405")
|
|
||||||
|
|
||||||
AM_CONDITIONAL(e500_clock, test "$RTEMS_CPU_MODEL" = "e500" \
|
|
||||||
|| test "$RTEMS_CPU_MODEL" = "ppc440")
|
|
||||||
|
|
||||||
AM_CONDITIONAL(e500_timer, test "$RTEMS_CPU_MODEL" = "e500" \
|
|
||||||
|| test "$RTEMS_CPU_MODEL" = "ppc440")
|
|
||||||
|
|
||||||
AM_CONDITIONAL(e500_mmu, test "$RTEMS_CPU_MODEL" = "e500" \
|
|
||||||
|| test "$RTEMS_CPU_MODEL" = "ppc440" \
|
|
||||||
|| test "$RTEMS_CPU_MODEL" = "qoriq" )
|
|
||||||
|
|
||||||
RTEMS_CHECK_NETWORKING
|
|
||||||
AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
|
|
||||||
|
|
||||||
RTEMS_AMPOLISH3
|
|
||||||
|
|
||||||
# Explicitly list all Makefiles here
|
|
||||||
AC_CONFIG_FILES([Makefile
|
|
||||||
])
|
|
||||||
AC_OUTPUT
|
|
||||||
Reference in New Issue
Block a user