From b221e9d88561bb9db9bf7365972f73c41e8e6b15 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Sat, 17 Oct 2009 15:36:51 +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/tqm8xx.inc: New (Renamed from tqm8xx.cfg). * make/custom/tqm8xx.cfg: Removed. * make/custom/pghplus.cfg, make/custom/tqm8xx_stk8xx.cfg: Include make/custom/tqm8xx.inc. --- c/src/lib/libbsp/powerpc/tqm8xx/ChangeLog | 7 ++++++ .../libbsp/powerpc/tqm8xx/make/custom/pghplus.cfg | 2 +- .../libbsp/powerpc/tqm8xx/make/custom/tqm8xx.cfg | 27 ---------------------- .../libbsp/powerpc/tqm8xx/make/custom/tqm8xx.inc | 27 ++++++++++++++++++++++ .../powerpc/tqm8xx/make/custom/tqm8xx_stk8xx.cfg | 2 +- 5 files changed, 36 insertions(+), 29 deletions(-) delete mode 100644 c/src/lib/libbsp/powerpc/tqm8xx/make/custom/tqm8xx.cfg create mode 100644 c/src/lib/libbsp/powerpc/tqm8xx/make/custom/tqm8xx.inc diff --git a/c/src/lib/libbsp/powerpc/tqm8xx/ChangeLog b/c/src/lib/libbsp/powerpc/tqm8xx/ChangeLog index fcbba25147..1b4dc8bd00 100644 --- a/c/src/lib/libbsp/powerpc/tqm8xx/ChangeLog +++ b/c/src/lib/libbsp/powerpc/tqm8xx/ChangeLog @@ -1,3 +1,10 @@ +2009-10-17 Ralf Corsépius + + * make/custom/tqm8xx.inc: New (Renamed from tqm8xx.cfg). + * make/custom/tqm8xx.cfg: Removed. + * make/custom/pghplus.cfg, make/custom/tqm8xx_stk8xx.cfg: + Include make/custom/tqm8xx.inc. + 2009-10-15 Ralf Corsépius * make/custom/pghplus.cfg: New (relocated from /make/custom). diff --git a/c/src/lib/libbsp/powerpc/tqm8xx/make/custom/pghplus.cfg b/c/src/lib/libbsp/powerpc/tqm8xx/make/custom/pghplus.cfg index dc0fcb3c18..75eb65fe90 100644 --- a/c/src/lib/libbsp/powerpc/tqm8xx/make/custom/pghplus.cfg +++ b/c/src/lib/libbsp/powerpc/tqm8xx/make/custom/pghplus.cfg @@ -7,4 +7,4 @@ # parameters differ. # -include $(RTEMS_ROOT)/make/custom/tqm8xx.cfg +include $(RTEMS_ROOT)/make/custom/tqm8xx.inc diff --git a/c/src/lib/libbsp/powerpc/tqm8xx/make/custom/tqm8xx.cfg b/c/src/lib/libbsp/powerpc/tqm8xx/make/custom/tqm8xx.cfg deleted file mode 100644 index 5e4faa251b..0000000000 --- a/c/src/lib/libbsp/powerpc/tqm8xx/make/custom/tqm8xx.cfg +++ /dev/null @@ -1,27 +0,0 @@ -# -# Config file for a PowerPC MPC8xx-based TQM8xx carrier card -# - -include $(RTEMS_ROOT)/make/custom/default.cfg - -RTEMS_CPU=powerpc -RTEMS_CPU_MODEL=mpc860 - -# This is the actual bsp directory used during the build process. -RTEMS_BSP_FAMILY=tqm8xx - -CPU_CFLAGS = -mcpu=860 -Dmpc860 \ - -mstrict-align -fno-strict-aliasing \ - -meabi -msdata -fno-common - -# optimize flag: typically -O2 -CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions - -RTEMS_LINKCMDS=linkcmds.tqm8xx -LDFLAGS += -qnolinkcmds -T $(RTEMS_LINKCMDS) - -define bsp-post-link - cp $(basename $@).exe $(basename $@)$(DOWNEXT) - $(STRIP) $(basename $@)$(DOWNEXT) - $(default-bsp-post-link) -endef diff --git a/c/src/lib/libbsp/powerpc/tqm8xx/make/custom/tqm8xx.inc b/c/src/lib/libbsp/powerpc/tqm8xx/make/custom/tqm8xx.inc new file mode 100644 index 0000000000..5e4faa251b --- /dev/null +++ b/c/src/lib/libbsp/powerpc/tqm8xx/make/custom/tqm8xx.inc @@ -0,0 +1,27 @@ +# +# Config file for a PowerPC MPC8xx-based TQM8xx carrier card +# + +include $(RTEMS_ROOT)/make/custom/default.cfg + +RTEMS_CPU=powerpc +RTEMS_CPU_MODEL=mpc860 + +# This is the actual bsp directory used during the build process. +RTEMS_BSP_FAMILY=tqm8xx + +CPU_CFLAGS = -mcpu=860 -Dmpc860 \ + -mstrict-align -fno-strict-aliasing \ + -meabi -msdata -fno-common + +# optimize flag: typically -O2 +CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions + +RTEMS_LINKCMDS=linkcmds.tqm8xx +LDFLAGS += -qnolinkcmds -T $(RTEMS_LINKCMDS) + +define bsp-post-link + cp $(basename $@).exe $(basename $@)$(DOWNEXT) + $(STRIP) $(basename $@)$(DOWNEXT) + $(default-bsp-post-link) +endef diff --git a/c/src/lib/libbsp/powerpc/tqm8xx/make/custom/tqm8xx_stk8xx.cfg b/c/src/lib/libbsp/powerpc/tqm8xx/make/custom/tqm8xx_stk8xx.cfg index 856df7c3ec..7b5ab01b8a 100644 --- a/c/src/lib/libbsp/powerpc/tqm8xx/make/custom/tqm8xx_stk8xx.cfg +++ b/c/src/lib/libbsp/powerpc/tqm8xx/make/custom/tqm8xx_stk8xx.cfg @@ -7,4 +7,4 @@ # parameters differ. # -include $(RTEMS_ROOT)/make/custom/tqm8xx.cfg +include $(RTEMS_ROOT)/make/custom/tqm8xx.inc -- cgit v1.2.3