From 76995af36e58516876a5fc855c16166832bf8a8d Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Sat, 17 Oct 2009 15:28:50 +0000 Subject: =?UTF-8?q?2009-10-17=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * make/custom/gen5200.inc: New (Renamed from gen5200.cfg). * make/custom/gen5200.cfg: Removed. * make/custom/brs5l.cfg, make/custom/icecube.cfg, make/custom/pm520_cr825.cfg, make/custom/pm520_ze30.cfg: Include make/custom/gen5200.inc. --- c/src/lib/libbsp/powerpc/gen5200/ChangeLog | 8 ++++++++ .../libbsp/powerpc/gen5200/make/custom/brs5l.cfg | 2 +- .../libbsp/powerpc/gen5200/make/custom/gen5200.cfg | 24 ---------------------- .../libbsp/powerpc/gen5200/make/custom/gen5200.inc | 24 ++++++++++++++++++++++ .../libbsp/powerpc/gen5200/make/custom/icecube.cfg | 2 +- .../powerpc/gen5200/make/custom/pm520_cr825.cfg | 2 +- .../powerpc/gen5200/make/custom/pm520_ze30.cfg | 2 +- 7 files changed, 36 insertions(+), 28 deletions(-) delete mode 100644 c/src/lib/libbsp/powerpc/gen5200/make/custom/gen5200.cfg create mode 100644 c/src/lib/libbsp/powerpc/gen5200/make/custom/gen5200.inc (limited to 'c') diff --git a/c/src/lib/libbsp/powerpc/gen5200/ChangeLog b/c/src/lib/libbsp/powerpc/gen5200/ChangeLog index 14370d483f..9b1b63a0c4 100644 --- a/c/src/lib/libbsp/powerpc/gen5200/ChangeLog +++ b/c/src/lib/libbsp/powerpc/gen5200/ChangeLog @@ -1,3 +1,11 @@ +2009-10-17 Ralf Corsépius + + * make/custom/gen5200.inc: New (Renamed from gen5200.cfg). + * make/custom/gen5200.cfg: Removed. + * make/custom/brs5l.cfg, make/custom/icecube.cfg, + make/custom/pm520_cr825.cfg, make/custom/pm520_ze30.cfg: + Include make/custom/gen5200.inc. + 2009-10-15 Ralf Corsépius * make/custom/icecube.cfg, make/custom/pm520_cr825.cfg, diff --git a/c/src/lib/libbsp/powerpc/gen5200/make/custom/brs5l.cfg b/c/src/lib/libbsp/powerpc/gen5200/make/custom/brs5l.cfg index ffb1612f21..9b8e41355d 100644 --- a/c/src/lib/libbsp/powerpc/gen5200/make/custom/brs5l.cfg +++ b/c/src/lib/libbsp/powerpc/gen5200/make/custom/brs5l.cfg @@ -11,4 +11,4 @@ RTEMS_LINKCMDS=linkcmds.brs5l -include $(RTEMS_ROOT)/make/custom/gen5200.cfg +include $(RTEMS_ROOT)/make/custom/gen5200.inc diff --git a/c/src/lib/libbsp/powerpc/gen5200/make/custom/gen5200.cfg b/c/src/lib/libbsp/powerpc/gen5200/make/custom/gen5200.cfg deleted file mode 100644 index d889eb2ba3..0000000000 --- a/c/src/lib/libbsp/powerpc/gen5200/make/custom/gen5200.cfg +++ /dev/null @@ -1,24 +0,0 @@ -# -# Shared base config file for GEN5200 BSPs -# -# $Id$ -# - -include $(RTEMS_ROOT)/make/custom/default.cfg - -RTEMS_CPU=powerpc -RTEMS_CPU_MODEL=mpc6xx - -# This is the actual bsp directory used during the build process. -RTEMS_BSP_FAMILY=gen5200 - -# This contains the compiler options necessary to select the CPU model -# and (hopefully) optimize for it. -# -CPU_CFLAGS = -mcpu=603e -mstrict-align \ - -meabi -msdata -fno-common - -# optimize flag: typically -O2 -CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions - -LDFLAGS += -qnolinkcmds -T $(RTEMS_LINKCMDS) diff --git a/c/src/lib/libbsp/powerpc/gen5200/make/custom/gen5200.inc b/c/src/lib/libbsp/powerpc/gen5200/make/custom/gen5200.inc new file mode 100644 index 0000000000..d889eb2ba3 --- /dev/null +++ b/c/src/lib/libbsp/powerpc/gen5200/make/custom/gen5200.inc @@ -0,0 +1,24 @@ +# +# Shared base config file for GEN5200 BSPs +# +# $Id$ +# + +include $(RTEMS_ROOT)/make/custom/default.cfg + +RTEMS_CPU=powerpc +RTEMS_CPU_MODEL=mpc6xx + +# This is the actual bsp directory used during the build process. +RTEMS_BSP_FAMILY=gen5200 + +# This contains the compiler options necessary to select the CPU model +# and (hopefully) optimize for it. +# +CPU_CFLAGS = -mcpu=603e -mstrict-align \ + -meabi -msdata -fno-common + +# optimize flag: typically -O2 +CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions + +LDFLAGS += -qnolinkcmds -T $(RTEMS_LINKCMDS) diff --git a/c/src/lib/libbsp/powerpc/gen5200/make/custom/icecube.cfg b/c/src/lib/libbsp/powerpc/gen5200/make/custom/icecube.cfg index 3ad22c37f7..b765d3a3f4 100644 --- a/c/src/lib/libbsp/powerpc/gen5200/make/custom/icecube.cfg +++ b/c/src/lib/libbsp/powerpc/gen5200/make/custom/icecube.cfg @@ -14,4 +14,4 @@ RTEMS_LINKCMDS=linkcmds.icecube -include $(RTEMS_ROOT)/make/custom/gen5200.cfg +include $(RTEMS_ROOT)/make/custom/gen5200.inc diff --git a/c/src/lib/libbsp/powerpc/gen5200/make/custom/pm520_cr825.cfg b/c/src/lib/libbsp/powerpc/gen5200/make/custom/pm520_cr825.cfg index fd84c4b18c..2835faa7b9 100644 --- a/c/src/lib/libbsp/powerpc/gen5200/make/custom/pm520_cr825.cfg +++ b/c/src/lib/libbsp/powerpc/gen5200/make/custom/pm520_cr825.cfg @@ -12,4 +12,4 @@ RTEMS_LINKCMDS=linkcmds.pm520 -include $(RTEMS_ROOT)/make/custom/gen5200.cfg +include $(RTEMS_ROOT)/make/custom/gen5200.inc diff --git a/c/src/lib/libbsp/powerpc/gen5200/make/custom/pm520_ze30.cfg b/c/src/lib/libbsp/powerpc/gen5200/make/custom/pm520_ze30.cfg index 5aa3de0354..6977dc974c 100644 --- a/c/src/lib/libbsp/powerpc/gen5200/make/custom/pm520_ze30.cfg +++ b/c/src/lib/libbsp/powerpc/gen5200/make/custom/pm520_ze30.cfg @@ -12,4 +12,4 @@ RTEMS_LINKCMDS=linkcmds.pm520 -include $(RTEMS_ROOT)/make/custom/gen5200.cfg +include $(RTEMS_ROOT)/make/custom/gen5200.inc -- cgit v1.2.3