This commit is contained in:
Ralf Corsepius
2006-11-30 06:46:38 +00:00
parent 43ea3692ce
commit 0c642539f2
69 changed files with 67 additions and 250 deletions

View File

@@ -14,8 +14,7 @@ RTEMS_BSP_FAMILY=posix
include $(RTEMS_ROOT)/make/custom/default.cfg
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2
define make-exe

View File

@@ -11,8 +11,7 @@ RTEMS_BSP_FAMILY=posix
include $(RTEMS_ROOT)/make/custom/default.cfg
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2
define make-exe

View File

@@ -15,8 +15,7 @@ RTEMS_BSP_FAMILY=posix
include $(RTEMS_ROOT)/make/custom/default.cfg
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2
define make-exe

View File

@@ -16,8 +16,7 @@ include $(RTEMS_ROOT)/make/custom/default.cfg
CPU_CFLAGS = -D_BSD_SOURCE -D_POSIX_C_SOURCE
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2
define make-exe

View File

@@ -16,8 +16,7 @@ include $(RTEMS_ROOT)/make/custom/default.cfg
CPU_CFLAGS += -Dsolaris2 -D__EXTENSIONS__
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2
define make-exe

View File

@@ -18,18 +18,9 @@ RTEMS_BSP_FAMILY=armulator
#CPU_CFLAGS = -mcpu=arm7tdmi
# CPU_CFLAGS = -msoft-float
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# NOTE2: some level of -O may be actually required by inline assembler (at least
# -O2 so far.
#CFLAGS_OPTIMIZE_V=
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V=-O4
# debug flags: typically none, but at least -O1 is required due to this
# BSP using inlined code
CFLAGS_DEBUG_V = -O1
#CFLAGS_DEBUG_V = -O1 -mmultiple -mstring -mstrict-align
define make-exe
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ \
$(LINK_OBJS) $(LINK_LIBS)

View File

@@ -21,7 +21,7 @@ RTEMS_BSP_FAMILY=av5282
CPU_CFLAGS = -m528x
# optimize flag: typically -0, could use -O4 or -fast, -O4 is ok for RTEMS
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V= -O4 -fomit-frame-pointer
ifndef MTARGET

View File

@@ -15,8 +15,7 @@ CPU_CFLAGS=$(BARE_CPU_CFLAGS)
include $(RTEMS_ROOT)/make/custom/default.cfg
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
# this target has no start file

View File

@@ -12,8 +12,7 @@ CPU_CFLAGS = -mcpu=32
# This is the actual bsp directory used during the build process.
RTEMS_BSP_FAMILY=c4xsim
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# optimize flag: typically -O2
# -O4 is broken for the moment on the C4x gcc
#CFLAGS_OPTIMIZE_V=-O4
CFLAGS_OPTIMIZE_V=-O1

View File

@@ -12,8 +12,7 @@ CPU_CFLAGS=-mcpu=40 #-msmall
# This is the actual bsp directory used during the build process.
RTEMS_BSP_FAMILY=c4xsim
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# optimize flag: typically -O2
# -O4 is broken for the moment on the C4x gcc
#CFLAGS_OPTIMIZE_V=-O4
CFLAGS_OPTIMIZE_V=-O1

View File

@@ -18,19 +18,10 @@ RTEMS_BSP_FAMILY=csb336
CPU_CFLAGS = -mcpu=arm920 -mstructure-size-boundary=8
#CPU_CFLAGS += -msoft-float
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# NOTE2: some level of -O may be actually required by inline assembler (at least
# -O2 so far.
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V=-O3
#CFLAGS_OPTIMIZE_V=-O4 -mmultiple -mstring -mstrict-align
# debug flags: typically none, but at least -O1 is required due to this
# BSP using inlined code
CFLAGS_DEBUG_V = -O1
#CFLAGS_DEBUG_V = -O1 -mmultiple -mstring -mstrict-align
define make-exe
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ \
$(LINK_OBJS) $(LINK_LIBS)

View File

@@ -17,10 +17,7 @@ RTEMS_BSP_FAMILY=csb337
#
CPU_CFLAGS = -mcpu=arm920 -mstructure-size-boundary=8
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# NOTE2: some level of -O may be actually required by inline assembler (at least
# -O2 so far.
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V=-O2 -g

View File

@@ -18,8 +18,7 @@ RTEMS_BSP_FAMILY=csb350
# gcc 3.1 and newer
CPU_CFLAGS=-mips32 -G0 -msoft-float
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V=-O2 -g
# The following are definitions of make-exe which will work using ld as

View File

@@ -19,7 +19,7 @@ RTEMS_BSP_FAMILY=csb360
#
CPU_CFLAGS = -m5200
# optimize flag: typically -0, could use -O4 or -fast
# optimize flag: typically -O2
# It looks like any optimization level > 0 causes problems
# with gcc-3.4.0. Until they are fixed, we'll use -O0
CFLAGS_OPTIMIZE_V=-O0 -fomit-frame-pointer

View File

@@ -19,8 +19,7 @@ RTEMS_BSP_FAMILY=dmv152
CPU_CFLAGS =
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
# Here is the rule to actually build a $(ARCH)/foo.exe

View File

@@ -17,8 +17,7 @@ RTEMS_BSP_FAMILY=eZKit533
#
CPU_CFLAGS=
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# optimize flag: typically -O2
# CFLAGS_OPTIMIZE_V=-O4 -mleaf-procedures
#CFLAGS_OPTIMIZE_V=-O4 -g
#CFLAGS_OPTIMIZE_V=-O2 -g

View File

@@ -18,19 +18,10 @@ RTEMS_BSP_FAMILY=edb7312
CPU_CFLAGS = -mcpu=$(RTEMS_CPU_MODEL) -mstructure-size-boundary=8
# CPU_CFLAGS += -msoft-float
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# NOTE2: some level of -O may be actually required by inline assembler (at least
# -O2 so far.
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V=-O3
#CFLAGS_OPTIMIZE_V=-O4 -mmultiple -mstring -mstrict-align
# debug flags: typically none, but at least -O1 is required due to this
# BSP using inlined code
CFLAGS_DEBUG_V = -O1
#CFLAGS_DEBUG_V = -O1 -mmultiple -mstring -mstrict-align
define make-exe
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ \
$(LINK_OBJS) $(LINK_LIBS)

View File

@@ -16,16 +16,11 @@ RTEMS_BSP_FAMILY=ep1a
#
CPU_CFLAGS = -mcpu=603e -Dmpc603e -Dppc603e -mmultiple -mstring -mstrict-align
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# optimize flag: typically -O2
# NOTE: some level of -O may be actually required by inline assembler
#CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions
CFLAGS_OPTIMIZE_V = -O4
# debug flags: typically none, but at least -O1 is required due to this
# BSP using inlined code
CFLAGS_DEBUG_V = -O1
define make-exe
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \
$(LINK_OBJS) $(LINK_LIBS)

View File

@@ -15,8 +15,7 @@ RTEMS_BSP_FAMILY=erc32
CPU_CFLAGS = -mcpu=cypress
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V=-O4
# The following are definitions of make-exe which will work using ld as

View File

@@ -16,8 +16,7 @@ RTEMS_BSP_FAMILY=erc32
CPU_CFLAGS = -mcpu=cypress -msoft-float
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V=-O4
# The following are definitions of make-exe which will work using ld as

View File

@@ -18,17 +18,10 @@ RTEMS_BSP_FAMILY=gba
#CPU_CFLAGS = -mcpu=$(RTEMS_CPU_MODEL) -mthumb -mthumb-interwork -msoft-float -mstructure-size-boundary=8
CPU_CFLAGS = -mcpu=$(RTEMS_CPU_MODEL) -msoft-float -mstructure-size-boundary=8
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# NOTE2: some level of -O may be actually required by inline assembler
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V=-O3
CXXFLAGS_OPTIMIZE_V=-O3
# debug flags: typically none, but at least -O1 is required due to
# this BSP using inlined code
CFLAGS_DEBUG_V=-O1 -ggdb
CXXFLAGS_DEBUG_V=-O1 -ggdb
define make-exe
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
-Wl,-Map,$(basename $@).map -o $(basename $@).elf \

View File

@@ -24,8 +24,7 @@ RTEMS_BSP_FAMILY=gen405
#
CPU_CFLAGS = -mcpu=403 -D_OLD_EXCEPTIONS -Dppc405
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# optimize flag: typically -O2
# NOTE: some level of -O may be actually required by inline assembler
CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions -g

View File

@@ -18,8 +18,7 @@ RTEMS_BSP_FAMILY=gen5200
# CPU_CFLAGS = -mcpu=$(8XX_CPU_TYPE) -mstrict-align
CPU_CFLAGS = -mcpu=603e -mstrict-align -D$(RTEMS_BOARD_MODEL)
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# optimize flag: typically -O2
# NOTE: some level of -O may be actually required by inline assembler
CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions -g

View File

@@ -20,8 +20,7 @@ RTEMS_BSP_FAMILY=gen68302
# CPU_CFLAGS = -m68302 -msoft-float
CPU_CFLAGS = -m68302
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
# The following are definitions of make-exe which will work using ld as

View File

@@ -15,8 +15,7 @@ RTEMS_BSP_FAMILY=gen68340
CPU_CFLAGS = -mcpu32
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
# The following are definitions of make-exe which will work using ld as

View File

@@ -26,8 +26,7 @@ else
CPU_CFLAGS = -mcpu32
endif
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
# The following are definitions of make-exe which will work using ld as

View File

@@ -17,8 +17,7 @@ RTEMS_BSP_FAMILY=genmongoosev
#
CPU_CFLAGS=-mips1 -G0
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V=-O2 -g
# The following are definitions of make-exe which will work using ld as

View File

@@ -22,12 +22,7 @@ RTEMS_BSP_FAMILY=gensh1
#
CPU_CFLAGS=-m1
# debug flags: typically none, but we use -O1 as it produces better code
# CFLAGS_DEBUG_V = -O1
CFLAGS_DEBUG_V =
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O4
# The following are definitions of make-exe which will work using ld as

View File

@@ -22,14 +22,7 @@ RTEMS_BSP_FAMILY=gensh2
#
CPU_CFLAGS= -m2
# debug flags: opt. is needed to fit in RAM. '-O1' has shown bad side-
# effects by failing to set up some hardware I/O registers in
# c/src/lib/libbsp/sh/gensh2/startup/hw_init.c (and perhaps elsewhere),
# which prevented proper chip initialization and muted SCI1 output.
CFLAGS_DEBUG_V = -O4 -g
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O4
# The following are definitions of make-exe which will work using ld as

View File

@@ -29,11 +29,7 @@ RTEMS_BSP_FAMILY=gensh4
# It works with SH4_FPSCR_PR bit set
CPU_CFLAGS= -m4 -ml
# debug flags:
CFLAGS_DEBUG_V = -O0 -ggdb
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O4
# The following are definitions of make-exe which will work using ld as

View File

@@ -17,10 +17,7 @@ RTEMS_BSP_FAMILY=gp32
#
CPU_CFLAGS = -mcpu=arm920t -mstructure-size-boundary=32 -O3
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# NOTE2: some level of -O may be actually required by inline assembler (at least
# -O2 so far.
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V=
define make-exe

View File

@@ -17,8 +17,7 @@ RTEMS_BSP_FAMILY=h8sim
#
CPU_CFLAGS=-mh -mint32
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# optimize flag: typically -O2
# CFLAGS_OPTIMIZE_V=-O4 -mleaf-procedures
CFLAGS_OPTIMIZE_V=-O0

View File

@@ -18,8 +18,7 @@ RTEMS_BSP_FAMILY=helas403
#
CPU_CFLAGS = -mcpu=403 -D_OLD_EXCEPTIONS -Dppc403
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# optimize flag: typically -O2
# NOTE: some level of -O may be actually required by inline assembler
CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions

View File

@@ -15,8 +15,7 @@ RTEMS_BSP_FAMILY=hurricane
# and (hopefully) optimize for it.
CPU_CFLAGS = -mips3 -G0 -EL
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
# The following are definitions of make-exe which will work using ld as

View File

@@ -17,9 +17,7 @@ RTEMS_BSP_FAMILY=i386ex
#
CPU_CFLAGS = -msoft-float
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# -fomit-frame-pointer breaks debugging and C++ exceptions
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V=-O4
# Something like this should produce a map file but this does not work.

View File

@@ -17,8 +17,7 @@ RTEMS_BSP_FAMILY=idp
#
CPU_CFLAGS = -msoft-float
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
# The following are definitions of make-exe which will work using ld as

View File

@@ -20,8 +20,7 @@ RTEMS_BSP_FAMILY=jmr3904
# gcc 3.1 and newer
CPU_CFLAGS=-march=r3900 -Wa,-xgot -G0
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V=-O2
# The following are definitions of make-exe which will work using ld as

View File

@@ -20,8 +20,7 @@ RTEMS_BSP_FAMILY=leon2
#CPU_CFLAGS = -mcpu=cypress $(MSOFT_FLOAT)
CPU_CFLAGS = -mcpu=cypress -msoft-float
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V=-O2
# The following are definitions of make-exe which will work using ld as

View File

@@ -22,8 +22,7 @@ RTEMS_BSP_FAMILY=leon3
#CPU_CFLAGS = -mcpu=cypress $(MSOFT_FLOAT)
CPU_CFLAGS = -mcpu=cypress -msoft-float
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V=-O2
# The following are definitions of make-exe which will work using ld as

View File

@@ -11,3 +11,5 @@ RTEMS_MBX_MODEL=mbx821_002b
8XX_CPU_TYPE=821
include $(RTEMS_ROOT)/make/custom/mbx8xx.cfg
CFLAGS_OPTIMIZE_V=-O2

View File

@@ -45,11 +45,8 @@ RTEMS_BSP_FAMILY=mbx8xx
#
CPU_CFLAGS = -mcpu=$(8XX_CPU_TYPE) -Dmpc$(8XX_CPU_TYPE) -D$(RTEMS_MBX_MODEL)
CFLAGS_DEBUG_V += -ggdb
CXXFLAGS_DEBUG_V += -ggdb
# optimize flag: typically -O, could use -O4 or -fast
# -O4 is ok for RTEMS
# NOTE: some level of -O may be actually required by inline assembler
# CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions
CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions

View File

@@ -19,8 +19,7 @@ RTEMS_BSP_FAMILY=mcf5206elite
#
CPU_CFLAGS = -m5200
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
# The following are definitions of make-exe which will work using ld as

View File

@@ -21,7 +21,7 @@ RTEMS_BSP_FAMILY=mcf5235
CPU_CFLAGS = -m528x
# optimize flag: typically -0, could use -O4 or -fast, -O4 is ok for RTEMS
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V= -O4 -fomit-frame-pointer

View File

@@ -17,20 +17,9 @@ RTEMS_BSP_FAMILY=motorola_powerpc
#
CPU_CFLAGS = -mcpu=750 -Dmpc750
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# NOTE2: some level of -O may be actually required by inline assembler (at least
# -O2 so far.
# NOTE2 Apparently nobody really knows the status or r2 and r13.
# As far as I know, small data are pointer impose a very specific compliation
# model => not used.
# Currently the sdata2 and sbss2 sections are empty => r2 is not used...
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V=-O4 -mmultiple -mstring -mstrict-align
# debug flags: typically none, but at least -O1 is required due to this
# BSP using inlined code
CFLAGS_DEBUG_V = -O1 -mmultiple -mstring -mstrict-align
define make-exe
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
-o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS)

View File

@@ -19,8 +19,7 @@ RTEMS_BSP_FAMILY=mpc8260ads
# CPU_CFLAGS = -mcpu=$(8XX_CPU_TYPE) -mstrict-align
CPU_CFLAGS = -mcpu=603e -mstrict-align -Dmpc8260
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# optimize flag: typically -O2
# NOTE: some level of -O may be actually required by inline assembler
CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions -g

View File

@@ -16,7 +16,7 @@ RTEMS_BSP_FAMILY=mrm332
# and (hopefully) optimize for it.
CPU_CFLAGS = -mcpu32
# optimize flag: typically -0, could use -O4 or -fast, -O4 is ok for RTEMS
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
# The following are definitions of make-exe which will work using ld as

View File

@@ -16,20 +16,9 @@ RTEMS_BSP_FAMILY=motorola_powerpc
# and (hopefully) optimize for it.
CPU_CFLAGS = -mcpu=603e -Dmpc603e -Dppc603e
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# NOTE2: some level of -O may be actually required by inline assembler (at least
# -O2 so far.
# NOTE2 Apparently nobody really knows the status or r2 and r13.
# As far as I know, small data are pointer impose a very specific compliation
# model => not used.
# Currently the sdata2 and sbss2 sections are empty => r2 is not used...
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V=-O4 -mmultiple -mstring -mstrict-align
# debug flags: typically none, but at least -O1 is required due to this
# BSP using inlined code
CFLAGS_DEBUG_V = -O1 -mmultiple -mstring -mstrict-align
define make-exe
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
-o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS)

View File

@@ -18,8 +18,7 @@ RTEMS_BSP_FAMILY=mvme136
#
CPU_CFLAGS =
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
# The following are definitions of make-exe which will work using ld as

View File

@@ -15,8 +15,7 @@ RTEMS_BSP_FAMILY=mvme147
# default flags
CPU_CFLAGS=
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
# The following are definitions of make-exe which will work using ld as

View File

@@ -20,8 +20,7 @@ RTEMS_BSP_FAMILY=mvme162
CPU_CFLAGS = -m68040
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
# The following are definitions of make-exe which will work using ld as

View File

@@ -26,8 +26,7 @@ RTEMS_BSP_FAMILY=mvme162
#
CPU_CFLAGS = -m68040 -msoft-float
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
# The following are definitions of make-exe which will work using ld as

View File

@@ -23,10 +23,8 @@ RTEMS_BSP_FAMILY=mvme167
CPU_CFLAGS = -m68040
CFLAGS_DEBUG_V += -ggdb
# optimize flag: typically -O, could use -O4 or -fast
# -O4 is ok for RTEMS
CFLAGS_OPTIMIZE_V=-O4 -fno-omit-frame-pointer
# Here is the rule to actually build a $(ARCH)/foo.exe

View File

@@ -16,20 +16,9 @@ RTEMS_BSP_FAMILY=motorola_powerpc
# and (hopefully) optimize for it.
CPU_CFLAGS = -mcpu=603e -Dmpc603e -Dppc603e
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# NOTE2: some level of -O may be actually required by inline assembler (at least
# -O2 so far.
# NOTE2 Apparently nobody really knows the status or r2 and r13.
# As far as I know, small data are pointer impose a very specific compliation
# model => not used.
# Currently the sdata2 and sbss2 sections are empty => r2 is not used...
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V=-O4 -mmultiple -mstring -mstrict-align
# debug flags: typically none, but at least -O1 is required due to this
# BSP using inlined code
CFLAGS_DEBUG_V = -O1 -mmultiple -mstring -mstrict-align
define make-exe
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
-o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS)

View File

@@ -18,16 +18,11 @@ RTEMS_BSP_FAMILY=motorola_powerpc
CPU_CFLAGS = -mcpu=604 -mmultiple -mstring -mstrict-align -meabi
#-msdata=eabi
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# optimize flag: typically -O2
# NOTE: some level of -O may be actually required by inline assembler
#CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions
CFLAGS_OPTIMIZE_V = -O4
# debug flags: typically none, but at least -O1 is required due to this
# BSP using inlined code
CFLAGS_DEBUG_V = -O1
define make-exe
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
-o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS)

View File

@@ -19,16 +19,10 @@ RTEMS_BSP_FAMILY=mvme5500
CPU_CFLAGS = -mcpu=7450 -Dmpc7455 -mno-altivec -mabi=altivec -mvrsave=no -mmultiple -mstring -mstrict-align
#T. Straumann; disable sdata=eabi for now until CEXP supports it -meabi -msdata=eabi
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# NOTE: some level of -O may be actually required by inline assembler
# optimize flag: typically -O2
#CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions
CFLAGS_OPTIMIZE_V = -O4
# debug flags: typically none, but at least -O1 is required due to this
# BSP using inlined code
CFLAGS_DEBUG_V = -O1
define make-exe
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $(LINK_OBJS) $(LINK_LIBS)
$(NM) -g -n $@ > $(basename $@).num

View File

@@ -24,13 +24,9 @@ RTEMS_BSP_FAMILY=ods68302
# CPU_CFLAGS = -m68302 -msoft-float
CPU_CFLAGS = -m68302
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
# debugging please
CFLAGS_DEBUG_V =
# 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.

View File

@@ -20,9 +20,7 @@ RTEMS_BSP_FAMILY=pc386
# NOTE: CPU_CFLAGS is set by pc386 variants.
# CPU_CFLAGS =
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# -fomit-frame-pointer breaks debugging and C++ exceptions
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V=-O4
# Here is the rule to actually build a $(ARCH)/foo.exe

View File

@@ -18,8 +18,7 @@ RTEMS_BSP_FAMILY=psim
CPU_CFLAGS = -mcpu=603e -Dppc603e
#-ffunction-sections
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# optimize flag: typically -O2
# NOTE: some level of -O may be actually required by inline assembler
CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions

View File

@@ -15,8 +15,7 @@ RTEMS_BSP_FAMILY=rbtx4925
# and (hopefully) optimize for it.
CPU_CFLAGS = -mips3 -G0 -EL
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
# The following are definitions of make-exe which will work using ld as

View File

@@ -15,8 +15,7 @@ RTEMS_BSP_FAMILY=rbtx4938
# and (hopefully) optimize for it.
CPU_CFLAGS = -mips3 -G0 -EL
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V=-fomit-frame-pointer
# The following are definitions of make-exe which will work using ld as

View File

@@ -22,8 +22,7 @@ RTEMS_BSP_FAMILY=score603e
#
CPU_CFLAGS = -mcpu=603e -Dmpc603e -Dppc603e -mmultiple -mstring -mstrict-align
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# optimize flag: typically -O2
# NOTE: some level of -O may be actually required by inline assembler
CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions
# CFLAGS_OPTIMIZE_V=-O0

View File

@@ -17,8 +17,7 @@ RTEMS_BSP_FAMILY=shsim
#
CPU_CFLAGS=-m1
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# optimize flag: typically -O2
# CFLAGS_OPTIMIZE_V=-O4 -mleaf-procedures
CFLAGS_OPTIMIZE_V=-O2 -g

View File

@@ -13,13 +13,9 @@ CPU_CFLAGS = -m68000
# This is the actual bsp directory used during the build process.
RTEMS_BSP_FAMILY=sim68000
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
# debugging please
CFLAGS_DEBUG_V =
# 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.

View File

@@ -13,13 +13,9 @@ CPU_CFLAGS = -mcpu32
# This is the actual bsp directory used during the build process.
RTEMS_BSP_FAMILY=sim68000
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
# debugging please
CFLAGS_DEBUG_V =
# 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.

View File

@@ -29,11 +29,7 @@ RTEMS_BSP_FAMILY=simsh4
CPU_CFLAGS= -m4 -ml
# debug flags:
CFLAGS_DEBUG_V = -O0 -ggdb
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O4
# The following are definitions of make-exe which will work using ld as

View File

@@ -19,12 +19,7 @@ RTEMS_CPU_MODEL=sh7032
#
CPU_CFLAGS=-m1
# debug flags: typically none, but we use -O1 as it produces better code
# CFLAGS_DEBUG_V = -O1
CFLAGS_DEBUG_V =
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O4
# Miscellaneous additions go here

View File

@@ -19,12 +19,7 @@ RTEMS_CPU_MODEL=sh7045
#
CPU_CFLAGS=-m2
# debug flags: typically none, but we use -O1 as it produces better code
# CFLAGS_DEBUG_V = -O1
CFLAGS_DEBUG_V =
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O4
# Miscellaneous additions go here

View File

@@ -22,13 +22,7 @@ RTEMS_BSP_FAMILY=ss555
#
CPU_CFLAGS = -mcpu=$(GCC_CPU_MODEL) -D$(RTEMS_CPU_MODEL) -D$(RTEMS_BSP_FAMILY)
# Debugging flags: If we debug with optimization on, single-stepping
# sometimes looks a little odd, but there won't be any surprises later.
CFLAGS_DEBUG_V += -O4 -ggdb
CXXFLAGS_DEBUG_V += -O4 -ggdb
# optimize flag: typically -O, could use -O4 or -fast
# -O4 is ok for RTEMS
# NOTE: some level of -O may be actually required by inline assembler
CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions
CXXFLAGS_OPTIMIZE_V=-O4

View File

@@ -18,9 +18,7 @@ RTEMS_BSP_FAMILY=ts_386ex
#
CPU_CFLAGS =-msoft-float -mno-fp-ret-in-387
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# -fomit-frame-pointer breaks debugging and C++ exceptions
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V= -O4
# Something like this should produce a map file but this does not work.