diff options
Diffstat (limited to 'make')
-rw-r--r-- | make/ChangeLog | 4 | ||||
-rw-r--r-- | make/custom/mcf5329.cfg | 30 |
2 files changed, 34 insertions, 0 deletions
diff --git a/make/ChangeLog b/make/ChangeLog index 2e2cacb32b..22d601aaac 100644 --- a/make/ChangeLog +++ b/make/ChangeLog @@ -1,3 +1,7 @@ +2008-06-20 Matthew Riek <matthew.riek@ibiscomputer.com.au> + + * custom/mcf5329.cfg: New file. + 2008-06-19 Matthew Riek <matthew.riek@ibiscomputer.com.au> * custom/mcf52235.cfg: Change to mcf5223x. diff --git a/make/custom/mcf5329.cfg b/make/custom/mcf5329.cfg new file mode 100644 index 0000000000..e52126b438 --- /dev/null +++ b/make/custom/mcf5329.cfg @@ -0,0 +1,30 @@ +# +# Config file for the mcf5329 BSP +# +# $Id$ +# + + +RTEMS_CPU=m68k +RTEMS_CPU_MODEL=mcf532x + +include $(RTEMS_ROOT)/make/custom/default.cfg + +# This is the actual bsp directory used during the build process. +RTEMS_BSP_FAMILY=mcf5329 + +# This contains the compiler options necessary to select the CPU model +# and (hopefully) optimize for it. +#CPU_CFLAGS = -mcpu=5329 +CPU_CFLAGS = -m5307 + +# optimize flag: typically -O2 +CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer + +# This defines the operations performed on the linked executable. +# is currently required. +define bsp-post-link + $(OBJCOPY) -O binary --strip-all \ + $(basename $@).exe $(basename $@)$(DOWNEXT) + $(SIZE) $(basename $@).exe +endef |