mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 06:08:20 +00:00
Backport various changes from CVS-HEAD.
This commit is contained in:
@@ -14,6 +14,8 @@ RTEMS_BSP_FAMILY=posix
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
CPU_CFLAGS = -D_BSD_SOURCE -D_POSIX_C_SOURCE
|
||||
|
||||
# optimize flag: typically -O2
|
||||
|
||||
@@ -14,6 +14,8 @@ RTEMS_BSP_FAMILY=posix
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
CPU_CFLAGS += -Dsolaris2 -D__EXTENSIONS__
|
||||
|
||||
# optimize flag: typically -O2
|
||||
|
||||
@@ -19,7 +19,7 @@ RTEMS_BSP_FAMILY=armulator
|
||||
# CPU_CFLAGS = -msoft-float
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V=-O4
|
||||
CFLAGS_OPTIMIZE_V = -O2
|
||||
|
||||
define make-exe
|
||||
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ \
|
||||
|
||||
@@ -1,12 +1,6 @@
|
||||
#
|
||||
# Config file for the uC5282 BSP
|
||||
#
|
||||
#Based on:
|
||||
# $Id$
|
||||
#
|
||||
# A0.01 Initial Version BDS 07/26/01
|
||||
#
|
||||
|
||||
|
||||
RTEMS_CPU=m68k
|
||||
RTEMS_CPU_MODEL=mcf5282
|
||||
@@ -22,7 +16,7 @@ CPU_CFLAGS = -m528x
|
||||
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V= -O4 -fomit-frame-pointer
|
||||
CFLAGS_OPTIMIZE_V = -O2 -fomit-frame-pointer
|
||||
|
||||
ifndef MTARGET
|
||||
MTARGET=ram
|
||||
@@ -30,8 +24,7 @@ endif
|
||||
|
||||
|
||||
# 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
|
||||
|
||||
@@ -11,19 +11,20 @@ RTEMS_BSP=bare
|
||||
|
||||
RTEMS_CPU_MODEL=$(BARE_CPU_MODEL)
|
||||
|
||||
CPU_CFLAGS=$(BARE_CPU_CFLAGS)
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
CPU_CFLAGS =$(BARE_CPU_CFLAGS)
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
|
||||
CFLAGS_OPTIMIZE_V = -O2 -fomit-frame-pointer
|
||||
|
||||
# this target has no start file
|
||||
START_BASE=
|
||||
|
||||
# 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
|
||||
@echo "*** Cannot do a link with the bare bsp. ***"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# Config file for customer specific MPC5200 board
|
||||
#
|
||||
# brs5l.cfg,v 1.8 2005/03/03 13:16:01 ralf Exp
|
||||
# $Id$
|
||||
#
|
||||
|
||||
#
|
||||
|
||||
@@ -16,11 +16,9 @@ RTEMS_BSP_FAMILY=csb336
|
||||
# and (hopefully) optimize for it.
|
||||
#
|
||||
CPU_CFLAGS = -mcpu=arm920 -mstructure-size-boundary=8
|
||||
#CPU_CFLAGS += -msoft-float
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V=-O3
|
||||
#CFLAGS_OPTIMIZE_V=-O4 -mmultiple -mstring -mstrict-align
|
||||
CFLAGS_OPTIMIZE_V = -O2
|
||||
|
||||
define make-exe
|
||||
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ \
|
||||
|
||||
@@ -18,7 +18,7 @@ RTEMS_BSP_FAMILY=csb337
|
||||
CPU_CFLAGS = -mcpu=arm920 -mstructure-size-boundary=8
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V=-O2 -g
|
||||
CFLAGS_OPTIMIZE_V = -O2 -g
|
||||
|
||||
|
||||
define make-exe
|
||||
|
||||
@@ -16,14 +16,13 @@ RTEMS_BSP_FAMILY=csb350
|
||||
# and (hopefully) optimize for it.
|
||||
#
|
||||
# gcc 3.1 and newer
|
||||
CPU_CFLAGS=-mips32 -G0 -msoft-float
|
||||
CPU_CFLAGS = -mips32 -G0 -msoft-float
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V=-O2 -g
|
||||
CFLAGS_OPTIMIZE_V = -O2 -g
|
||||
|
||||
# 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) \
|
||||
|
||||
@@ -14,19 +14,15 @@ include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
# This is the actual bsp directory used during the build process.
|
||||
RTEMS_BSP_FAMILY=csb360
|
||||
|
||||
#
|
||||
# You must use versions of gcc and gas that support the -m5200 option.
|
||||
#
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
CPU_CFLAGS = -m5200
|
||||
|
||||
# optimize flag: typically -0, could use -O4 or -fast
|
||||
# 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
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V = -O2 -fomit-frame-pointer
|
||||
|
||||
# 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 $@ \
|
||||
|
||||
@@ -20,15 +20,14 @@ RTEMS_BSP_FAMILY=dmv152
|
||||
CPU_CFLAGS =
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
|
||||
CFLAGS_OPTIMIZE_V = -O2 -fomit-frame-pointer
|
||||
|
||||
# Here is the rule to actually build a $(ARCH)/foo.exe
|
||||
# It also builds $(ARCH)/foo.sr and $(ARCH)/foo.nm
|
||||
# Usage ref: src/tests/sptest/sp1/Makefile
|
||||
|
||||
# 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 $@).nxe \
|
||||
|
||||
@@ -16,11 +16,9 @@ RTEMS_BSP_FAMILY=edb7312
|
||||
# and (hopefully) optimize for it.
|
||||
#
|
||||
CPU_CFLAGS = -mcpu=$(RTEMS_CPU_MODEL) -mstructure-size-boundary=8
|
||||
# CPU_CFLAGS += -msoft-float
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V=-O3
|
||||
#CFLAGS_OPTIMIZE_V=-O4 -mmultiple -mstring -mstrict-align
|
||||
CFLAGS_OPTIMIZE_V = -O2
|
||||
|
||||
define make-exe
|
||||
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ \
|
||||
|
||||
@@ -17,9 +17,7 @@ RTEMS_BSP_FAMILY=ep1a
|
||||
CPU_CFLAGS = -mcpu=603e -Dmpc603e -Dppc603e -mmultiple -mstring -mstrict-align
|
||||
|
||||
# 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
|
||||
CFLAGS_OPTIMIZE_V = -O2
|
||||
|
||||
define make-exe
|
||||
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \
|
||||
|
||||
@@ -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 \
|
||||
|
||||
@@ -14,14 +14,15 @@ include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
# 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 -msoft-float
|
||||
|
||||
# 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 \
|
||||
|
||||
@@ -19,8 +19,7 @@ RTEMS_BSP_FAMILY=gba
|
||||
CPU_CFLAGS = -mcpu=$(RTEMS_CPU_MODEL) -msoft-float -mstructure-size-boundary=8
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V=-O3
|
||||
CXXFLAGS_OPTIMIZE_V=-O3
|
||||
CFLAGS_OPTIMIZE_V = -O2
|
||||
|
||||
define make-exe
|
||||
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
|
||||
|
||||
@@ -25,16 +25,14 @@ RTEMS_BSP_FAMILY=gen405
|
||||
CPU_CFLAGS = -mcpu=403 -D_OLD_EXCEPTIONS -Dppc405
|
||||
|
||||
# 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
|
||||
CFLAGS_OPTIMIZE_V = -O2 -fno-keep-inline-functions -g
|
||||
|
||||
|
||||
# No start file
|
||||
START_BASE=
|
||||
|
||||
# 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 $(LINK_OBJS) $(LINK_LIBS)
|
||||
|
||||
@@ -19,12 +19,10 @@ RTEMS_BSP_FAMILY=gen5200
|
||||
CPU_CFLAGS = -mcpu=603e -mstrict-align -D$(RTEMS_BOARD_MODEL)
|
||||
|
||||
# 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
|
||||
CFLAGS_OPTIMIZE_V = -O2 -fno-keep-inline-functions -g
|
||||
|
||||
# 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) \
|
||||
|
||||
@@ -15,17 +15,13 @@ RTEMS_BSP_FAMILY=gen68302
|
||||
#
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
#
|
||||
# 68000+softfloat results in gcc 2.95.2 giving default libraries.
|
||||
# CPU_CFLAGS = -m68302 -msoft-float
|
||||
CPU_CFLAGS = -m68302
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
|
||||
CFLAGS_OPTIMIZE_V = -O2 -fomit-frame-pointer
|
||||
|
||||
# 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 $@ \
|
||||
|
||||
@@ -13,14 +13,15 @@ include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
# This is the actual bsp directory used during the build process.
|
||||
RTEMS_BSP_FAMILY=gen68340
|
||||
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
CPU_CFLAGS = -mcpu32
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
|
||||
CFLAGS_OPTIMIZE_V = -O2 -fomit-frame-pointer
|
||||
|
||||
# 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) \
|
||||
@@ -28,19 +29,5 @@ define make-exe
|
||||
$(NM) -g -n $@ > $(basename $@).num
|
||||
$(SIZE) $@
|
||||
endef
|
||||
# if you want to make a prom image
|
||||
# m68k-rtems-objcopy --adjust-section-vma \
|
||||
# .data=`m68k-rtems-objdump --section-headers $(basename $@).exe | \
|
||||
# awk 'function h2d(x) { x=toupper(x); digits=length(x); s=0 ; \
|
||||
# for (p=digits; p>0; p--) \
|
||||
# s += (16^(p-1)) * ( index("0123456789ABCDEF",\
|
||||
# substr(x,1+digits-p,1)) -1 );\
|
||||
# return s } ;\
|
||||
# /\.text/ { base = $$4 ; size = $$3 };\
|
||||
# END { printf("0x%x", h2d(base) + h2d(size)) }'\
|
||||
# ` $(basename $@).exe
|
||||
# if you want to convert it to ieee
|
||||
# m68k-rtems-objcopy --output-target=ieee --debugging \
|
||||
# $(basename $@).exe $(basename $@).ieee
|
||||
|
||||
# Miscellaneous additions go here
|
||||
|
||||
@@ -17,21 +17,19 @@ include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
# This is the actual bsp directory used during the build process.
|
||||
RTEMS_BSP_FAMILY=gen68360
|
||||
|
||||
#
|
||||
# You must use versions of gcc and gas that support the -mcpu32 option.
|
||||
#
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
ifeq ($(RTEMS_GEN68360_COMPANION_MODE),yes)
|
||||
CPU_CFLAGS= -m68040
|
||||
CPU_CFLAGS = -m68040
|
||||
else
|
||||
CPU_CFLAGS = -mcpu32
|
||||
endif
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
|
||||
CFLAGS_OPTIMIZE_V = -O2 -fomit-frame-pointer
|
||||
|
||||
# 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 $@ \
|
||||
|
||||
@@ -15,14 +15,13 @@ RTEMS_BSP_FAMILY=genmongoosev
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
#
|
||||
CPU_CFLAGS=-mips1 -G0
|
||||
CPU_CFLAGS = -mips1 -G0
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V=-O2 -g
|
||||
CFLAGS_OPTIMIZE_V = -O2 -g
|
||||
|
||||
# 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) \
|
||||
|
||||
@@ -20,14 +20,13 @@ RTEMS_BSP_FAMILY=gensh1
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
#
|
||||
CPU_CFLAGS=-m1
|
||||
CPU_CFLAGS = -m1
|
||||
|
||||
# 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) \
|
||||
|
||||
@@ -20,14 +20,13 @@ RTEMS_BSP_FAMILY=gensh2
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
#
|
||||
CPU_CFLAGS= -m2
|
||||
CPU_CFLAGS = -m2
|
||||
|
||||
# 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) -Wl,-Map,$(basename $@).map \
|
||||
|
||||
@@ -23,18 +23,17 @@ RTEMS_BSP_FAMILY=gensh4
|
||||
#
|
||||
# Seems to be good without initialisation FPSCR.
|
||||
# Also works with SH4_FPSCR_DN bit set.
|
||||
#CPU_CFLAGS= -m4-single-only -mfmovd -ml
|
||||
#CPU_CFLAGS= -m4-single -ml
|
||||
#CPU_CFLAGS = -m4-single-only -mfmovd -ml
|
||||
#CPU_CFLAGS = -m4-single -ml
|
||||
#
|
||||
# It works with SH4_FPSCR_PR bit set
|
||||
CPU_CFLAGS= -m4 -ml
|
||||
CPU_CFLAGS = -m4 -ml
|
||||
|
||||
# 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) -Wl,-Map,$(basename $@).map \
|
||||
|
||||
@@ -15,10 +15,10 @@ RTEMS_BSP_FAMILY=gp32
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
#
|
||||
CPU_CFLAGS = -mcpu=arm920t -mstructure-size-boundary=32 -O3
|
||||
CPU_CFLAGS = -mcpu=arm920t -mstructure-size-boundary=32
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V=
|
||||
CFLAGS_OPTIMIZE_V = -O2
|
||||
|
||||
define make-exe
|
||||
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ \
|
||||
|
||||
@@ -15,15 +15,13 @@ RTEMS_BSP_FAMILY=h8sim
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
#
|
||||
CPU_CFLAGS=-mh -mint32
|
||||
CPU_CFLAGS = -mh -mint32
|
||||
|
||||
# optimize flag: typically -O2
|
||||
# CFLAGS_OPTIMIZE_V=-O4 -mleaf-procedures
|
||||
CFLAGS_OPTIMIZE_V=-O0
|
||||
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) \
|
||||
|
||||
@@ -19,15 +19,13 @@ RTEMS_BSP_FAMILY=helas403
|
||||
CPU_CFLAGS = -mcpu=403 -D_OLD_EXCEPTIONS -Dppc403
|
||||
|
||||
# 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 = -O2 -fno-keep-inline-functions
|
||||
|
||||
# No start file
|
||||
START_BASE=
|
||||
|
||||
# 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 \
|
||||
|
||||
@@ -16,11 +16,10 @@ RTEMS_BSP_FAMILY=hurricane
|
||||
CPU_CFLAGS = -mips3 -G0 -EL
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
|
||||
CFLAGS_OPTIMIZE_V = -O2 -fomit-frame-pointer
|
||||
|
||||
# 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) \
|
||||
|
||||
@@ -18,7 +18,7 @@ RTEMS_BSP_FAMILY=i386ex
|
||||
CPU_CFLAGS = -msoft-float
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V=-O4
|
||||
CFLAGS_OPTIMIZE_V = -O2
|
||||
|
||||
# Something like this should produce a map file but this does not work.
|
||||
|
||||
@@ -29,8 +29,7 @@ CFLAGS_OPTIMIZE_V=-O4
|
||||
# $(OBJDUMP) -x -m i386 -d $(basename $@).elf > $(basename $@).rdmp
|
||||
|
||||
# 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 $@).elf \
|
||||
|
||||
@@ -18,11 +18,10 @@ RTEMS_BSP_FAMILY=idp
|
||||
CPU_CFLAGS = -msoft-float
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
|
||||
CFLAGS_OPTIMIZE_V = -O2 -fomit-frame-pointer
|
||||
|
||||
# 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 $@).nxe \
|
||||
|
||||
@@ -16,16 +16,15 @@ RTEMS_BSP_FAMILY=jmr3904
|
||||
# and (hopefully) optimize for it.
|
||||
#
|
||||
# gcc 2.95.x and 3.0
|
||||
#CPU_CFLAGS=-m3900 -G0
|
||||
#CPU_CFLAGS = -m3900 -G0
|
||||
# gcc 3.1 and newer
|
||||
CPU_CFLAGS=-march=r3900 -Wa,-xgot -G0
|
||||
CPU_CFLAGS = -march=r3900 -Wa,-xgot -G0
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V=-O2
|
||||
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) -G0 $(AM_LDFLAGS) \
|
||||
|
||||
@@ -11,21 +11,15 @@ RTEMS_CPU_MODEL=leon2
|
||||
# This is the actual bsp directory used during the build process.
|
||||
RTEMS_BSP_FAMILY=leon2
|
||||
|
||||
# The -mflat avoids the use of save/restore instructions. It has
|
||||
# a negative impact on the performance of RTEMS and should not be used.
|
||||
|
||||
# This had been used with gcc-2.7.2
|
||||
# CPU_CFLAGS = -mno-v8 -mcypress $(MSOFT_FLOAT)
|
||||
# -mcpu=cypress says to optimize for a Cypress 60x chipset
|
||||
#CPU_CFLAGS = -mcpu=cypress $(MSOFT_FLOAT)
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
CPU_CFLAGS = -mcpu=cypress -msoft-float
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V=-O2
|
||||
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 \
|
||||
@@ -34,4 +28,3 @@ define make-exe
|
||||
$(SIZE) $(basename $@).exe
|
||||
endef
|
||||
# Miscellaneous additions go here
|
||||
|
||||
|
||||
@@ -13,21 +13,15 @@ RTEMS_CPU_MODEL=leon3
|
||||
# This is the actual bsp directory used during the build process.
|
||||
RTEMS_BSP_FAMILY=leon3
|
||||
|
||||
# The -mflat avoids the use of save/restore instructions. It has
|
||||
# a negative impact on the performance of RTEMS and should not be used.
|
||||
|
||||
# This had been used with gcc-2.7.2
|
||||
# CPU_CFLAGS = -mno-v8 -mcypress $(MSOFT_FLOAT)
|
||||
# -mcpu=cypress says to optimize for a Cypress 60x chipset
|
||||
#CPU_CFLAGS = -mcpu=cypress $(MSOFT_FLOAT)
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
CPU_CFLAGS = -mcpu=cypress -msoft-float
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V=-O2
|
||||
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 \
|
||||
|
||||
@@ -12,4 +12,5 @@ RTEMS_MBX_MODEL=mbx821_002b
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/mbx8xx.cfg
|
||||
|
||||
CFLAGS_OPTIMIZE_V=-O2
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V = -O2
|
||||
|
||||
@@ -46,11 +46,8 @@ RTEMS_BSP_FAMILY=mbx8xx
|
||||
CPU_CFLAGS = -mcpu=$(8XX_CPU_TYPE) -Dmpc$(8XX_CPU_TYPE) -D$(RTEMS_MBX_MODEL)
|
||||
|
||||
|
||||
# optimize flag: typically -O, could use -O4 or -fast
|
||||
# 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
|
||||
CXXFLAGS_OPTIMIZE_V=-O4
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V = -O2 -fno-keep-inline-functions
|
||||
|
||||
define make-exe
|
||||
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) $(MBX8xx_LDFLAGS) \
|
||||
|
||||
@@ -14,18 +14,15 @@ include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
# This is the actual bsp directory used during the build process.
|
||||
RTEMS_BSP_FAMILY=mcf5206elite
|
||||
|
||||
#
|
||||
# You must use versions of gcc and gas that support the -m5200 option.
|
||||
#
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
CPU_CFLAGS = -m5200
|
||||
|
||||
# optimize flag: typically -0, could use -O4 or -fast
|
||||
# -O4 is ok for RTEMS
|
||||
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V = -O2 -fomit-frame-pointer
|
||||
|
||||
# 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 $@ \
|
||||
|
||||
@@ -21,8 +21,8 @@ RTEMS_BSP_FAMILY=mcf5235
|
||||
CPU_CFLAGS = -m528x
|
||||
|
||||
|
||||
# optimize flag: typically -0, could use -O4 or -fast, -O4 is ok for RTEMS
|
||||
CFLAGS_OPTIMIZE_V= -O4 -fomit-frame-pointer
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V = -O2 -fomit-frame-pointer
|
||||
|
||||
|
||||
ifndef MTARGET
|
||||
@@ -30,8 +30,7 @@ MTARGET=ram
|
||||
endif
|
||||
|
||||
# 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) -m5200 $(AM_LDFLAGS) \
|
||||
|
||||
@@ -18,7 +18,7 @@ RTEMS_BSP_FAMILY=motorola_powerpc
|
||||
CPU_CFLAGS = -mcpu=750 -Dmpc750
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V=-O4 -mmultiple -mstring -mstrict-align
|
||||
CFLAGS_OPTIMIZE_V = -O2 -mmultiple -mstring -mstrict-align
|
||||
|
||||
define make-exe
|
||||
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
|
||||
|
||||
@@ -20,12 +20,10 @@ RTEMS_BSP_FAMILY=mpc8260ads
|
||||
CPU_CFLAGS = -mcpu=603e -mstrict-align -Dmpc8260
|
||||
|
||||
# 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
|
||||
CFLAGS_OPTIMIZE_V = -O2 -fno-keep-inline-functions -g
|
||||
|
||||
# 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 \
|
||||
|
||||
@@ -17,11 +17,10 @@ RTEMS_BSP_FAMILY=mrm332
|
||||
CPU_CFLAGS = -mcpu32
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
|
||||
CFLAGS_OPTIMIZE_V = -O2 -fomit-frame-pointer
|
||||
|
||||
# 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.
|
||||
|
||||
ifeq ($(MRM_IN_ROM),yes)
|
||||
# Build a rommable image - move the .data section after the .text section
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# Config file for Motorola MTX603e -- a MPC603e ATX form factor board
|
||||
#
|
||||
# mcp750.cfg,v 1.24 2002/04/18 13:07:35 joel Exp
|
||||
# $Id$
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
@@ -17,7 +17,7 @@ RTEMS_BSP_FAMILY=motorola_powerpc
|
||||
CPU_CFLAGS = -mcpu=603e -Dmpc603e -Dppc603e
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V=-O4 -mmultiple -mstring -mstrict-align
|
||||
CFLAGS_OPTIMIZE_V = -O2 -mmultiple -mstring -mstrict-align
|
||||
|
||||
define make-exe
|
||||
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
|
||||
|
||||
@@ -19,11 +19,10 @@ RTEMS_BSP_FAMILY=mvme136
|
||||
CPU_CFLAGS =
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
|
||||
CFLAGS_OPTIMIZE_V = -O2 -fomit-frame-pointer
|
||||
|
||||
# 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 $@).nxe \
|
||||
|
||||
@@ -12,15 +12,15 @@ RTEMS_CPU_MODEL=m68030
|
||||
# This is the actual bsp directory used during the build process.
|
||||
RTEMS_BSP_FAMILY=mvme147
|
||||
|
||||
# default flags
|
||||
CPU_CFLAGS=
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
CPU_CFLAGS =
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
|
||||
CFLAGS_OPTIMIZE_V = -O2 -fomit-frame-pointer
|
||||
|
||||
# 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 $@).nxe \
|
||||
|
||||
@@ -21,11 +21,10 @@ RTEMS_BSP_FAMILY=mvme162
|
||||
CPU_CFLAGS = -m68040
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
|
||||
CFLAGS_OPTIMIZE_V = -O2 -fomit-frame-pointer
|
||||
|
||||
# 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) \
|
||||
|
||||
@@ -27,11 +27,10 @@ RTEMS_BSP_FAMILY=mvme162
|
||||
CPU_CFLAGS = -m68040 -msoft-float
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
|
||||
CFLAGS_OPTIMIZE_V = -O2 -fomit-frame-pointer
|
||||
|
||||
# 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) \
|
||||
|
||||
@@ -24,8 +24,8 @@ RTEMS_BSP_FAMILY=mvme167
|
||||
CPU_CFLAGS = -m68040
|
||||
|
||||
|
||||
# optimize flag: typically -O, could use -O4 or -fast
|
||||
CFLAGS_OPTIMIZE_V=-O4 -fno-omit-frame-pointer
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V = -O2 -fno-omit-frame-pointer
|
||||
|
||||
# Here is the rule to actually build a $(ARCH)/foo.exe
|
||||
# It also builds $(ARCH)/foo.nm
|
||||
@@ -35,8 +35,7 @@ CFLAGS_OPTIMIZE_V=-O4 -fno-omit-frame-pointer
|
||||
# rather than S-records. We skip the header during downloads.
|
||||
|
||||
# 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.
|
||||
|
||||
# The MC68040 does not implement all MC68881/MC68882 instructions, so use
|
||||
# either the gcc floating-point software support (msoft-float libraries), or
|
||||
|
||||
@@ -17,7 +17,7 @@ RTEMS_BSP_FAMILY=motorola_powerpc
|
||||
CPU_CFLAGS = -mcpu=603e -Dmpc603e -Dppc603e
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V=-O4 -mmultiple -mstring -mstrict-align
|
||||
CFLAGS_OPTIMIZE_V = -O2 -mmultiple -mstring -mstrict-align
|
||||
|
||||
define make-exe
|
||||
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
|
||||
|
||||
@@ -16,12 +16,9 @@ RTEMS_BSP_FAMILY=motorola_powerpc
|
||||
# and (hopefully) optimize for it.
|
||||
#
|
||||
CPU_CFLAGS = -mcpu=604 -mmultiple -mstring -mstrict-align -meabi
|
||||
#-msdata=eabi
|
||||
|
||||
# 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
|
||||
CFLAGS_OPTIMIZE_V = -O2
|
||||
|
||||
define make-exe
|
||||
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
|
||||
|
||||
@@ -20,14 +20,12 @@ CPU_CFLAGS = -mcpu=7450 -Dmpc7455 -mno-altivec -mabi=altivec -mvrsave=no -mmulti
|
||||
#T. Straumann; disable sdata=eabi for now until CEXP supports it -meabi -msdata=eabi
|
||||
|
||||
# optimize flag: typically -O2
|
||||
#CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions
|
||||
CFLAGS_OPTIMIZE_V = -O4
|
||||
CFLAGS_OPTIMIZE_V = -O2
|
||||
|
||||
define make-exe
|
||||
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $(LINK_OBJS) $(LINK_LIBS)
|
||||
$(NM) -g -n $@ > $(basename $@).num
|
||||
$(SIZE) $@
|
||||
# test -d ${PROJECT_RELEASE}/bin || mkdir ${PROJECT_RELEASE}/bin
|
||||
$(OBJCOPY) -Obinary $@ $(@:%.exe=%)$(LIB_VARIANT).bin
|
||||
endef
|
||||
|
||||
|
||||
@@ -12,12 +12,4 @@ RTEMS_CPU_MODEL=no_cpu_model
|
||||
# This is the actual bsp directory used during the build process.
|
||||
RTEMS_BSP_FAMILY=no_bsp
|
||||
|
||||
# Define this to yes if C++ is included in the development environment.
|
||||
# This requires that at least the GNU C++ compiler and libg++ be installed.
|
||||
#
|
||||
# Need "main" in BSP so can't link C++ sample test or you will get
|
||||
# duplicate symbol errors for main
|
||||
#
|
||||
HAS_CPLUSPLUS=no
|
||||
|
||||
# Miscellaneous additions go here
|
||||
|
||||
@@ -25,11 +25,10 @@ RTEMS_BSP_FAMILY=ods68302
|
||||
CPU_CFLAGS = -m68302
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
|
||||
CFLAGS_OPTIMIZE_V = -O2 -fomit-frame-pointer
|
||||
|
||||
# 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) \
|
||||
|
||||
@@ -21,7 +21,7 @@ RTEMS_BSP_FAMILY=pc386
|
||||
# CPU_CFLAGS =
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V=-O4
|
||||
CFLAGS_OPTIMIZE_V = -O2
|
||||
|
||||
# Here is the rule to actually build a $(ARCH)/foo.exe
|
||||
# It also builds $(ARCH)/foo.sr and $(ARCH)/foo.nm
|
||||
@@ -43,8 +43,7 @@ START16ADDR=0x00097C00
|
||||
HEADERADDR=0x00097E00
|
||||
|
||||
# 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) -Wl,-Ttext,$(RELOCADDR) \
|
||||
|
||||
@@ -5,6 +5,9 @@
|
||||
#
|
||||
|
||||
RTEMS_CPU_MODEL=i386dx
|
||||
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
CPU_CFLAGS = -msoft-float -mno-fp-ret-in-387
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/pc386.cfg
|
||||
|
||||
@@ -5,12 +5,10 @@
|
||||
#
|
||||
|
||||
RTEMS_CPU_MODEL=i486dx
|
||||
# gcc 2.95.x and 3.0
|
||||
#CPU_CFLAGS = -m486
|
||||
# gcc 3.1 and newer
|
||||
# CPU_CFLAGS=-mcpu=i486
|
||||
# gcc 4.0 and newer
|
||||
CPU_CFLAGS=-mtune=i486
|
||||
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
CPU_CFLAGS = -mtune=i486
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/pc386.cfg
|
||||
|
||||
|
||||
@@ -5,12 +5,10 @@
|
||||
#
|
||||
|
||||
RTEMS_CPU_MODEL=pentium
|
||||
# gcc 2.95.x and 3.0
|
||||
#CPU_CFLAGS = -mpentium
|
||||
# gcc 3.1 and newer
|
||||
# CPU_CFLAGS=-mcpu=pentium
|
||||
# gcc 4.0 and newer
|
||||
CPU_CFLAGS=-mtune=pentium
|
||||
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
CPU_CFLAGS = -mtune=pentium
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/pc386.cfg
|
||||
|
||||
|
||||
@@ -5,12 +5,10 @@
|
||||
#
|
||||
|
||||
RTEMS_CPU_MODEL=pentiumpro
|
||||
# gcc 2.95.x and 3.0
|
||||
#CPU_CFLAGS = -mpentiumpro
|
||||
# gcc 3.1 and newer
|
||||
# CPU_CFLAGS=-mcpu=pentiumpro
|
||||
# gcc 4.0 and newer
|
||||
CPU_CFLAGS=-mtune=pentiumpro
|
||||
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
CPU_CFLAGS = -mtune=pentiumpro
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/pc386.cfg
|
||||
|
||||
|
||||
@@ -5,9 +5,9 @@
|
||||
#
|
||||
|
||||
RTEMS_CPU_MODEL=pentium
|
||||
# gcc 3.1 and newer
|
||||
# CPU_CFLAGS = -mcpu=k6
|
||||
# gcc 4.0 and newer
|
||||
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
CPU_CFLAGS = -mtune=k6
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/pc386.cfg
|
||||
|
||||
@@ -19,8 +19,7 @@ CPU_CFLAGS = -mcpu=603e -Dppc603e
|
||||
#-ffunction-sections
|
||||
|
||||
# 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 = -O2 -fno-keep-inline-functions
|
||||
|
||||
define make-exe
|
||||
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \
|
||||
|
||||
@@ -16,11 +16,10 @@ RTEMS_BSP_FAMILY=rbtx4925
|
||||
CPU_CFLAGS = -mips3 -G0 -EL
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
|
||||
CFLAGS_OPTIMIZE_V = -O2 -fomit-frame-pointer
|
||||
|
||||
# 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) \
|
||||
|
||||
@@ -16,11 +16,10 @@ RTEMS_BSP_FAMILY=rbtx4938
|
||||
CPU_CFLAGS = -mips3 -G0 -EL
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V=-fomit-frame-pointer
|
||||
CFLAGS_OPTIMIZE_V = -fomit-frame-pointer
|
||||
|
||||
# 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) \
|
||||
|
||||
@@ -23,9 +23,7 @@ RTEMS_BSP_FAMILY=score603e
|
||||
CPU_CFLAGS = -mcpu=603e -Dmpc603e -Dppc603e -mmultiple -mstring -mstrict-align
|
||||
|
||||
# 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
|
||||
CFLAGS_OPTIMIZE_V = -O2 -fno-keep-inline-functions
|
||||
|
||||
define make-exe
|
||||
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
|
||||
@@ -39,5 +37,3 @@ define make-exe
|
||||
endef
|
||||
|
||||
# Miscellaneous additions go here
|
||||
|
||||
DRIVER_ARCHITECTURE=vmebus
|
||||
|
||||
@@ -15,15 +15,13 @@ RTEMS_BSP_FAMILY=shsim
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
#
|
||||
CPU_CFLAGS=-m1
|
||||
CPU_CFLAGS = -m1
|
||||
|
||||
# optimize flag: typically -O2
|
||||
# CFLAGS_OPTIMIZE_V=-O4 -mleaf-procedures
|
||||
CFLAGS_OPTIMIZE_V=-O2 -g
|
||||
CFLAGS_OPTIMIZE_V = -O2 -g
|
||||
|
||||
# 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) \
|
||||
|
||||
@@ -8,17 +8,19 @@ include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
|
||||
RTEMS_CPU=m68k
|
||||
RTEMS_CPU_MODEL=m68000
|
||||
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
CPU_CFLAGS = -m68000
|
||||
|
||||
# This is the actual bsp directory used during the build process.
|
||||
RTEMS_BSP_FAMILY=sim68000
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
|
||||
CFLAGS_OPTIMIZE_V = -O2 -fomit-frame-pointer
|
||||
|
||||
# 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) \
|
||||
|
||||
@@ -8,17 +8,19 @@ include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
|
||||
RTEMS_CPU=m68k
|
||||
RTEMS_CPU_MODEL=mcpu32
|
||||
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
CPU_CFLAGS = -mcpu32
|
||||
|
||||
# This is the actual bsp directory used during the build process.
|
||||
RTEMS_BSP_FAMILY=sim68000
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
|
||||
CFLAGS_OPTIMIZE_V = -O2 -fomit-frame-pointer
|
||||
|
||||
# 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) \
|
||||
|
||||
@@ -23,18 +23,17 @@ RTEMS_BSP_FAMILY=simsh4
|
||||
#
|
||||
# Seems to be good without initialisation FPSCR.
|
||||
# Also works with SH4_FPSCR_DN bit set.
|
||||
#CPU_CFLAGS= -m4-single-only -ml
|
||||
#CPU_CFLAGS = -m4-single-only -ml
|
||||
#
|
||||
# It works with SH4_FPSCR_PR bit set
|
||||
CPU_CFLAGS= -m4 -ml
|
||||
CPU_CFLAGS = -m4 -ml
|
||||
|
||||
|
||||
# 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) -Wl,-Map,$(basename $@).map \
|
||||
|
||||
@@ -17,9 +17,9 @@ RTEMS_CPU_MODEL=sh7032
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
#
|
||||
CPU_CFLAGS=-m1
|
||||
CPU_CFLAGS = -m1
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V = -O4
|
||||
CFLAGS_OPTIMIZE_V = -O2
|
||||
|
||||
# Miscellaneous additions go here
|
||||
|
||||
@@ -17,9 +17,9 @@ RTEMS_CPU_MODEL=sh7045
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
#
|
||||
CPU_CFLAGS=-m2
|
||||
CPU_CFLAGS = -m2
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V = -O4
|
||||
CFLAGS_OPTIMIZE_V = -O2
|
||||
|
||||
# Miscellaneous additions go here
|
||||
|
||||
@@ -22,10 +22,8 @@ RTEMS_BSP_FAMILY=ss555
|
||||
#
|
||||
CPU_CFLAGS = -mcpu=$(GCC_CPU_MODEL) -D$(RTEMS_CPU_MODEL) -D$(RTEMS_BSP_FAMILY)
|
||||
|
||||
# optimize flag: typically -O, could use -O4 or -fast
|
||||
# NOTE: some level of -O may be actually required by inline assembler
|
||||
CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions
|
||||
CXXFLAGS_OPTIMIZE_V=-O4
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V = -O2 -fno-keep-inline-functions
|
||||
|
||||
define make-exe
|
||||
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) $(SS555_LDFLAGS) \
|
||||
|
||||
@@ -19,7 +19,7 @@ RTEMS_BSP_FAMILY=ts_386ex
|
||||
CPU_CFLAGS =-msoft-float -mno-fp-ret-in-387
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V= -O4
|
||||
CFLAGS_OPTIMIZE_V = -O2
|
||||
|
||||
# Something like this should produce a map file but this does not work.
|
||||
|
||||
|
||||
@@ -14,12 +14,11 @@ RTEMS_BSP_FAMILY = uC5282
|
||||
# and (hopefully) optimize for it.
|
||||
CPU_CFLAGS = -m528x
|
||||
|
||||
# CFLAGS_OPTIMIZE_V= -O0 -fomit-frame-pointer
|
||||
CFLAGS_OPTIMIZE_V= -O4 -g
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V = -O2 -g
|
||||
|
||||
# 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 $@).nxe \
|
||||
|
||||
Reference in New Issue
Block a user