diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-12-04 22:56:09 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-12-04 22:56:09 +0000 |
commit | 5485a4d7032416372cf5317048f437439dd9d595 (patch) | |
tree | e89b669ee36fba8f315e8a61dd57e19131e50256 /make | |
parent | 74c6f36dc854e225262d5df88c8e5ad63db33c2c (diff) |
2008-12-04 Jukka Pietarinen <jukka.pietarinen@mrf.fi>
* Makefile.am: Add Lattice Mico32 support.
* custom/lm32_evr.cfg: New file.
Diffstat (limited to 'make')
-rw-r--r-- | make/ChangeLog | 5 | ||||
-rw-r--r-- | make/Makefile.am | 3 | ||||
-rw-r--r-- | make/custom/lm32_evr.cfg | 30 |
3 files changed, 37 insertions, 1 deletions
diff --git a/make/ChangeLog b/make/ChangeLog index bc29ce35b5..e0a949fbb9 100644 --- a/make/ChangeLog +++ b/make/ChangeLog @@ -1,3 +1,8 @@ +2008-12-04 Jukka Pietarinen <jukka.pietarinen@mrf.fi> + + * Makefile.am: Add Lattice Mico32 support. + * custom/lm32_evr.cfg: New file. + 2008-11-20 Joel Sherrill <joel.sherrill@oarcorp.com> * custom/avrtest.cfg: New file. diff --git a/make/Makefile.am b/make/Makefile.am index 660c50efbb..0f90736a8e 100644 --- a/make/Makefile.am +++ b/make/Makefile.am @@ -26,7 +26,8 @@ EXTRA_DIST += custom/Cygwin-posix.cfg custom/FreeBSD-posix.cfg \ custom/gen68340.cfg custom/gen68360.cfg custom/gen68360_040.cfg \ custom/h8sim.cfg custom/h8sxsim.cfg custom/uC5282.cfg custom/gba.cfg \ custom/gensh1.cfg custom/helas403.cfg custom/i386ex.cfg custom/idp.cfg \ - custom/jmr3904.cfg custom/leon2.cfg custom/mcp750.cfg \ + custom/jmr3904.cfg custom/leon2.cfg custom/lm32_evr.cfg \ + custom/mcp750.cfg \ custom/mvme136.cfg custom/mvme147.cfg custom/mvme147s.cfg \ custom/mvme162.cfg custom/mvme162lx.cfg custom/mvme167.cfg \ custom/mvme2100.cfg custom/mvme2307.cfg custom/no_bsp.cfg \ diff --git a/make/custom/lm32_evr.cfg b/make/custom/lm32_evr.cfg new file mode 100644 index 0000000000..c33644c67a --- /dev/null +++ b/make/custom/lm32_evr.cfg @@ -0,0 +1,30 @@ +# +# Config file for the lm32_evr BSP +# + +# Choices for CPU_MODEL: +# tiny (no cache) +# standard (instruction cache) +# fast (instruction and data cache) + +RTEMS_CPU = lm32 +RTEMS_CPU_MODEL = lm32 + +include $(RTEMS_ROOT)/make/custom/default.cfg + +# This is the actual bsp directory used during the build process. +RTEMS_BSP_FAMILY = lm32_evr + +# This contains the compiler options necessary to select the CPU model +# and (hopefully) optimize for it. +CPU_CFLAGS = + +# optimize flag: typically -O2 +# ATM, doesn't work with optimization levels > 0 +CFLAGS_OPTIMIZE_V = -O0 -g + +define bsp-post-link + $(OBJCOPY) -O binary --strip-all $(basename $@).exe \ + -R entry -R exceptions $(basename $@)$(DOWNEXT) + $(default-bsp-post-link) +endef |