From 092eef141c02520d2e8f2e589d564aa47aa13f27 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Thu, 15 Oct 2009 05:09:49 +0000 Subject: =?UTF-8?q?2009-10-15=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * make/custom/mbx821_001.cfg: New (relocated from /make/custom). * make/custom/mbx821_002b.cfg: New (relocated from /make/custom). * make/custom/mbx821_002.cfg: New (relocated from /make/custom). * make/custom/mbx860_001b.cfg: New (relocated from /make/custom). * make/custom/mbx860_002.cfg: New (relocated from /make/custom). * make/custom/mbx860_005b.cfg: New (relocated from /make/custom). * make/custom/mbx860_1b.cfg: New (relocated from /make/custom). * make/custom/mbx8xx.cfg: New (relocated from /make/custom). --- c/src/lib/libbsp/powerpc/mbx8xx/ChangeLog | 11 +++++ .../powerpc/mbx8xx/make/custom/mbx821_001.cfg | 13 +++++ .../powerpc/mbx8xx/make/custom/mbx821_002.cfg | 13 +++++ .../powerpc/mbx8xx/make/custom/mbx821_002b.cfg | 16 ++++++ .../powerpc/mbx8xx/make/custom/mbx860_001b.cfg | 13 +++++ .../powerpc/mbx8xx/make/custom/mbx860_002.cfg | 13 +++++ .../powerpc/mbx8xx/make/custom/mbx860_005b.cfg | 16 ++++++ .../powerpc/mbx8xx/make/custom/mbx860_1b.cfg | 13 +++++ .../libbsp/powerpc/mbx8xx/make/custom/mbx8xx.cfg | 57 ++++++++++++++++++++++ 9 files changed, 165 insertions(+) create mode 100644 c/src/lib/libbsp/powerpc/mbx8xx/make/custom/mbx821_001.cfg create mode 100644 c/src/lib/libbsp/powerpc/mbx8xx/make/custom/mbx821_002.cfg create mode 100644 c/src/lib/libbsp/powerpc/mbx8xx/make/custom/mbx821_002b.cfg create mode 100644 c/src/lib/libbsp/powerpc/mbx8xx/make/custom/mbx860_001b.cfg create mode 100644 c/src/lib/libbsp/powerpc/mbx8xx/make/custom/mbx860_002.cfg create mode 100644 c/src/lib/libbsp/powerpc/mbx8xx/make/custom/mbx860_005b.cfg create mode 100644 c/src/lib/libbsp/powerpc/mbx8xx/make/custom/mbx860_1b.cfg create mode 100644 c/src/lib/libbsp/powerpc/mbx8xx/make/custom/mbx8xx.cfg (limited to 'c') diff --git a/c/src/lib/libbsp/powerpc/mbx8xx/ChangeLog b/c/src/lib/libbsp/powerpc/mbx8xx/ChangeLog index 8125e6729b..cab123d4df 100644 --- a/c/src/lib/libbsp/powerpc/mbx8xx/ChangeLog +++ b/c/src/lib/libbsp/powerpc/mbx8xx/ChangeLog @@ -1,3 +1,14 @@ +2009-10-15 Ralf Corsépius + + * make/custom/mbx821_001.cfg: New (relocated from /make/custom). + * make/custom/mbx821_002b.cfg: New (relocated from /make/custom). + * make/custom/mbx821_002.cfg: New (relocated from /make/custom). + * make/custom/mbx860_001b.cfg: New (relocated from /make/custom). + * make/custom/mbx860_002.cfg: New (relocated from /make/custom). + * make/custom/mbx860_005b.cfg: New (relocated from /make/custom). + * make/custom/mbx860_1b.cfg: New (relocated from /make/custom). + * make/custom/mbx8xx.cfg: New (relocated from /make/custom). + 2009-09-15 Ralf Corsépius * configure.ac: Remove RTEMS_BSP_BOOTCARD_OPTIONS. diff --git a/c/src/lib/libbsp/powerpc/mbx8xx/make/custom/mbx821_001.cfg b/c/src/lib/libbsp/powerpc/mbx8xx/make/custom/mbx821_001.cfg new file mode 100644 index 0000000000..7b3ff2782a --- /dev/null +++ b/c/src/lib/libbsp/powerpc/mbx8xx/make/custom/mbx821_001.cfg @@ -0,0 +1,13 @@ +# +# Config file for a PowerPC MPC860-based MBX821-001 card. +# + +# +# All MBX8xx configurations share the same base file, only a few +# parameters differ. +# + +RTEMS_MBX_MODEL=mbx821_001 +8XX_CPU_TYPE=821 + +include $(RTEMS_ROOT)/make/custom/mbx8xx.cfg diff --git a/c/src/lib/libbsp/powerpc/mbx8xx/make/custom/mbx821_002.cfg b/c/src/lib/libbsp/powerpc/mbx8xx/make/custom/mbx821_002.cfg new file mode 100644 index 0000000000..c36da9227d --- /dev/null +++ b/c/src/lib/libbsp/powerpc/mbx8xx/make/custom/mbx821_002.cfg @@ -0,0 +1,13 @@ +# +# Config file for a PowerPC MPC860-based MBX821-001 card. +# + +# +# All MBX8xx configurations share the same base file, only a few +# parameters differ. +# + +RTEMS_MBX_MODEL=mbx821_002 +8XX_CPU_TYPE=821 + +include $(RTEMS_ROOT)/make/custom/mbx8xx.cfg diff --git a/c/src/lib/libbsp/powerpc/mbx8xx/make/custom/mbx821_002b.cfg b/c/src/lib/libbsp/powerpc/mbx8xx/make/custom/mbx821_002b.cfg new file mode 100644 index 0000000000..09bf1c86b1 --- /dev/null +++ b/c/src/lib/libbsp/powerpc/mbx8xx/make/custom/mbx821_002b.cfg @@ -0,0 +1,16 @@ +# +# Config file for a PowerPC MPC860-based MBX821-002b card. +# + +# +# All MBX8xx configurations share the same base file, only a few +# parameters differ. +# + +RTEMS_MBX_MODEL=mbx821_002b +8XX_CPU_TYPE=821 + +include $(RTEMS_ROOT)/make/custom/mbx8xx.cfg + +# optimize flag: typically -O2 +CFLAGS_OPTIMIZE_V = -O2 -g diff --git a/c/src/lib/libbsp/powerpc/mbx8xx/make/custom/mbx860_001b.cfg b/c/src/lib/libbsp/powerpc/mbx8xx/make/custom/mbx860_001b.cfg new file mode 100644 index 0000000000..3aceb7939c --- /dev/null +++ b/c/src/lib/libbsp/powerpc/mbx8xx/make/custom/mbx860_001b.cfg @@ -0,0 +1,13 @@ +# +# Config file for a PowerPC MPC860-based MBX860-001b card. +# + +# +# All MBX8xx configurations share the same base file, only a few +# parameters differ. +# + +RTEMS_MBX_MODEL=mbx860_001b +8XX_CPU_TYPE=860 + +include $(RTEMS_ROOT)/make/custom/mbx8xx.cfg diff --git a/c/src/lib/libbsp/powerpc/mbx8xx/make/custom/mbx860_002.cfg b/c/src/lib/libbsp/powerpc/mbx8xx/make/custom/mbx860_002.cfg new file mode 100644 index 0000000000..2423eebe01 --- /dev/null +++ b/c/src/lib/libbsp/powerpc/mbx8xx/make/custom/mbx860_002.cfg @@ -0,0 +1,13 @@ +# +# Config file for a PowerPC MPC860-based MBX860-002 card. +# + +# +# All MBX8xx configurations share the same base file, only a few +# parameters differ. +# + +RTEMS_MBX_MODEL=mbx860_002 +8XX_CPU_TYPE=860 + +include $(RTEMS_ROOT)/make/custom/mbx8xx.cfg diff --git a/c/src/lib/libbsp/powerpc/mbx8xx/make/custom/mbx860_005b.cfg b/c/src/lib/libbsp/powerpc/mbx8xx/make/custom/mbx860_005b.cfg new file mode 100644 index 0000000000..9cf8654dcb --- /dev/null +++ b/c/src/lib/libbsp/powerpc/mbx8xx/make/custom/mbx860_005b.cfg @@ -0,0 +1,16 @@ +# +# Config file for a PowerPC MPC860-based MBX860-005b card. +# + +# +# All MBX8xx configurations share the same base file, only a few +# parameters differ. +# + +RTEMS_MBX_MODEL=mbx860_005b +8XX_CPU_TYPE=860 + +# The 860_005b has 16M ram : org = 0x0, l = 16M +MBX8xx_LDFLAGS=-Wl,--defsym -Wl,HeapSize=0x100000 + +include $(RTEMS_ROOT)/make/custom/mbx8xx.cfg diff --git a/c/src/lib/libbsp/powerpc/mbx8xx/make/custom/mbx860_1b.cfg b/c/src/lib/libbsp/powerpc/mbx8xx/make/custom/mbx860_1b.cfg new file mode 100644 index 0000000000..725fbb9fb7 --- /dev/null +++ b/c/src/lib/libbsp/powerpc/mbx8xx/make/custom/mbx860_1b.cfg @@ -0,0 +1,13 @@ +# +# Config file for a PowerPC MPC860-based MBX821-002b card. +# + +# +# All MBX8xx configurations share the same base file, only a few +# parameters differ. +# + +RTEMS_MBX_MODEL=mbx860_001b +8XX_CPU_TYPE=860 + +include $(RTEMS_ROOT)/make/custom/mbx8xx.cfg diff --git a/c/src/lib/libbsp/powerpc/mbx8xx/make/custom/mbx8xx.cfg b/c/src/lib/libbsp/powerpc/mbx8xx/make/custom/mbx8xx.cfg new file mode 100644 index 0000000000..00f55050d8 --- /dev/null +++ b/c/src/lib/libbsp/powerpc/mbx8xx/make/custom/mbx8xx.cfg @@ -0,0 +1,57 @@ +# +# Config file for a PowerPC MPC821- or MPC860-based MBX card +# +# This file is derived from: +# +# Config file for a PowerPC 403 based helas403 card +# Config file for MPC860 based Ethernet Comm Board +# + +include $(RTEMS_ROOT)/make/custom/default.cfg + +RTEMS_CPU=powerpc +RTEMS_CPU_MODEL=mpc$(8XX_CPU_TYPE) + +# This is the actual bsp directory used during the build process. +RTEMS_BSP_FAMILY=mbx8xx + +# This section makes the target dependent options file. +# +# Note that RTEMS_BSP matches the RTEMS_MBX_MODEL. Its value must be +# defined in targopts.h, so the few places that require different code +# for different MBX models can be distinguished. The value of +# RTEMS_BSP is already defined in targopts.h and is one of: +# mbx860_001 mbx821_001 +# mbx860_002 mbx821_002 +# mbx860_003 mbx821_003 +# mbx860_004 mbx821_004 +# mbx860_005 mbx821_005 +# mbx860_001b mbx821_001b +# mbx860_002b mbx821_002b +# mbx860_003b mbx821_003b +# mbx860_004b mbx821_004b +# mbx860_005b mbx821_005b +# mbx860_006b mbx821_006b + +# The specific CPU model is defined, so the few places that require +# different code for the MPC860 and MPC821 can be distinguished. +# Either mpc860 or mpc821 is defined. +# +# MBX8xx-specific options: +# + +# This contains the compiler options necessary to select the CPU model +# and (hopefully) optimize for it. +# +CPU_CFLAGS = -mcpu=$(8XX_CPU_TYPE) -Dmpc$(8XX_CPU_TYPE) -D$(RTEMS_MBX_MODEL) + +# optimize flag: typically -O2 +CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions + +LDFLAGS += $(MBX8xx_LDFLAGS) + +define bsp-post-link + cp $(basename $@).exe $(basename $@)$(DOWNEXT) + $(STRIP) $(basename $@)$(DOWNEXT) + $(default-bsp-post-link) +endef -- cgit v1.2.3