From 3b8afe8ca115c8a87e85fe049418fda50ec4c9c3 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Sat, 17 Oct 2009 15:31:27 +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/gen83xx.inc: New (Renamed from gen83xx.cfg). * make/custom/gen83xx.cfg: Removed. * make/custom/hsc_cm01.cfg, make/custom/mpc8313erdb.cfg, make/custom/mpc8349eamds.cfg: Include make/custom/gen83xx.inc. --- c/src/lib/libbsp/powerpc/gen83xx/ChangeLog | 8 +++++++ .../libbsp/powerpc/gen83xx/make/custom/gen83xx.cfg | 28 ---------------------- .../libbsp/powerpc/gen83xx/make/custom/gen83xx.inc | 28 ++++++++++++++++++++++ .../powerpc/gen83xx/make/custom/hsc_cm01.cfg | 2 +- .../powerpc/gen83xx/make/custom/mpc8313erdb.cfg | 2 +- .../powerpc/gen83xx/make/custom/mpc8349eamds.cfg | 2 +- 6 files changed, 39 insertions(+), 31 deletions(-) delete mode 100644 c/src/lib/libbsp/powerpc/gen83xx/make/custom/gen83xx.cfg create mode 100644 c/src/lib/libbsp/powerpc/gen83xx/make/custom/gen83xx.inc (limited to 'c') diff --git a/c/src/lib/libbsp/powerpc/gen83xx/ChangeLog b/c/src/lib/libbsp/powerpc/gen83xx/ChangeLog index e2ad8e551b..727501e2a5 100644 --- a/c/src/lib/libbsp/powerpc/gen83xx/ChangeLog +++ b/c/src/lib/libbsp/powerpc/gen83xx/ChangeLog @@ -1,3 +1,11 @@ +2009-10-17 Ralf Corsépius + + * make/custom/gen83xx.inc: New (Renamed from gen83xx.cfg). + * make/custom/gen83xx.cfg: Removed. + * make/custom/hsc_cm01.cfg, make/custom/mpc8313erdb.cfg, + make/custom/mpc8349eamds.cfg: + Include make/custom/gen83xx.inc. + 2009-10-16 Ralf Corsépius * make/custom/gen83xx.cfg: Remove -W -Wno-unused. diff --git a/c/src/lib/libbsp/powerpc/gen83xx/make/custom/gen83xx.cfg b/c/src/lib/libbsp/powerpc/gen83xx/make/custom/gen83xx.cfg deleted file mode 100644 index 950efcbebf..0000000000 --- a/c/src/lib/libbsp/powerpc/gen83xx/make/custom/gen83xx.cfg +++ /dev/null @@ -1,28 +0,0 @@ -# -# Shared base config file for GEN83xx BSPs -# -# $Id$ -# - -include $(RTEMS_ROOT)/make/custom/default.cfg -# -# FIXME: we might want to use the e300 CPU model explicitely, -# using RTEMS_CPU_MODEL=e300 and -me300 -# but I doubt the compiler actually generates different code -# -RTEMS_CPU=powerpc -RTEMS_CPU_MODEL=mpc83xx - -# This is the actual bsp directory used during the build process. -RTEMS_BSP_FAMILY=gen83xx - -# This contains the compiler options necessary to select the CPU model -# and (hopefully) optimize for it. -# -CPU_CFLAGS = -mcpu=603e -mstrict-align -fno-strict-aliasing \ - -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/gen83xx/make/custom/gen83xx.inc b/c/src/lib/libbsp/powerpc/gen83xx/make/custom/gen83xx.inc new file mode 100644 index 0000000000..950efcbebf --- /dev/null +++ b/c/src/lib/libbsp/powerpc/gen83xx/make/custom/gen83xx.inc @@ -0,0 +1,28 @@ +# +# Shared base config file for GEN83xx BSPs +# +# $Id$ +# + +include $(RTEMS_ROOT)/make/custom/default.cfg +# +# FIXME: we might want to use the e300 CPU model explicitely, +# using RTEMS_CPU_MODEL=e300 and -me300 +# but I doubt the compiler actually generates different code +# +RTEMS_CPU=powerpc +RTEMS_CPU_MODEL=mpc83xx + +# This is the actual bsp directory used during the build process. +RTEMS_BSP_FAMILY=gen83xx + +# This contains the compiler options necessary to select the CPU model +# and (hopefully) optimize for it. +# +CPU_CFLAGS = -mcpu=603e -mstrict-align -fno-strict-aliasing \ + -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/gen83xx/make/custom/hsc_cm01.cfg b/c/src/lib/libbsp/powerpc/gen83xx/make/custom/hsc_cm01.cfg index 568d561f7e..b18ceba454 100644 --- a/c/src/lib/libbsp/powerpc/gen83xx/make/custom/hsc_cm01.cfg +++ b/c/src/lib/libbsp/powerpc/gen83xx/make/custom/hsc_cm01.cfg @@ -11,4 +11,4 @@ RTEMS_LINKCMDS=linkcmds.hsc_cm01 -include $(RTEMS_ROOT)/make/custom/gen83xx.cfg +include $(RTEMS_ROOT)/make/custom/gen83xx.inc diff --git a/c/src/lib/libbsp/powerpc/gen83xx/make/custom/mpc8313erdb.cfg b/c/src/lib/libbsp/powerpc/gen83xx/make/custom/mpc8313erdb.cfg index 57718ca6bf..b69c6bb601 100644 --- a/c/src/lib/libbsp/powerpc/gen83xx/make/custom/mpc8313erdb.cfg +++ b/c/src/lib/libbsp/powerpc/gen83xx/make/custom/mpc8313erdb.cfg @@ -9,4 +9,4 @@ RTEMS_LINKCMDS=linkcmds.mpc8313erdb -include $(RTEMS_ROOT)/make/custom/gen83xx.cfg +include $(RTEMS_ROOT)/make/custom/gen83xx.inc diff --git a/c/src/lib/libbsp/powerpc/gen83xx/make/custom/mpc8349eamds.cfg b/c/src/lib/libbsp/powerpc/gen83xx/make/custom/mpc8349eamds.cfg index 375b3d7d03..92d695a13a 100644 --- a/c/src/lib/libbsp/powerpc/gen83xx/make/custom/mpc8349eamds.cfg +++ b/c/src/lib/libbsp/powerpc/gen83xx/make/custom/mpc8349eamds.cfg @@ -11,4 +11,4 @@ RTEMS_LINKCMDS=linkcmds.mpc8349eamds -include $(RTEMS_ROOT)/make/custom/gen83xx.cfg +include $(RTEMS_ROOT)/make/custom/gen83xx.inc -- cgit v1.2.3