diff options
Diffstat (limited to 'make/custom/erc32.cfg')
-rw-r--r-- | make/custom/erc32.cfg | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/make/custom/erc32.cfg b/make/custom/erc32.cfg index 5a8f1b2fbd..4d99ebbcfb 100644 --- a/make/custom/erc32.cfg +++ b/make/custom/erc32.cfg @@ -13,14 +13,15 @@ RTEMS_CPU_MODEL=erc32 # This is the actual bsp directory used during the build process. RTEMS_BSP_FAMILY=erc32 +# This contains the compiler options necessary to select the CPU model +# and (hopefully) optimize for it. CPU_CFLAGS = -mcpu=cypress # optimize flag: typically -O2 -CFLAGS_OPTIMIZE_V=-O4 +CFLAGS_OPTIMIZE_V = -O2 # The following are definitions of make-exe which will work using ld as -# is currently required. It is expected that as of gcc 2.8, the end user -# will be able to override parts of the compilers specs and link using gcc. +# is currently required. define make-exe $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \ |