Misc cleanups.

This commit is contained in:
Ralf Corsepius
2007-01-18 08:28:54 +00:00
parent e7d49fb64b
commit c51004a089
23 changed files with 54 additions and 65 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -11,6 +11,8 @@ RTEMS_BSP=bare
RTEMS_CPU_MODEL=$(BARE_CPU_MODEL)
# 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

View File

@@ -7,6 +7,9 @@
include $(RTEMS_ROOT)/make/custom/default.cfg
RTEMS_CPU_MODEL=c32
# This contains the compiler options necessary to select the CPU model
# and (hopefully) optimize for it.
CPU_CFLAGS = -mcpu=32
# This is the actual bsp directory used during the build process.

View File

@@ -7,6 +7,9 @@
include $(RTEMS_ROOT)/make/custom/default.cfg
RTEMS_CPU_MODEL=c40
# This contains the compiler options necessary to select the CPU model
# and (hopefully) optimize for it.
CPU_CFLAGS = -mcpu=40 #-msmall
# This is the actual bsp directory used during the build process.

View File

@@ -14,15 +14,12 @@ 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 -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
CFLAGS_OPTIMIZE_V = -O2 -fomit-frame-pointer
# The following are definitions of make-exe which will work using ld as
# is currently required.

View File

@@ -13,6 +13,8 @@ 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

View File

@@ -14,6 +14,8 @@ 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

View File

@@ -13,6 +13,8 @@ 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
@@ -27,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

View File

@@ -17,9 +17,8 @@ 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
else

View File

@@ -11,10 +11,8 @@ RTEMS_CPU_MODEL=leon2
# This is the actual bsp directory used during the build process.
RTEMS_BSP_FAMILY=leon2
# 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
@@ -30,4 +28,3 @@ define make-exe
$(SIZE) $(basename $@).exe
endef
# Miscellaneous additions go here

View File

@@ -13,10 +13,8 @@ RTEMS_CPU_MODEL=leon3
# This is the actual bsp directory used during the build process.
RTEMS_BSP_FAMILY=leon3
# 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

View File

@@ -14,9 +14,8 @@ 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 -O2

View File

@@ -12,7 +12,8 @@ RTEMS_CPU_MODEL=m68030
# This is the actual bsp directory used during the build process.
RTEMS_BSP_FAMILY=mvme147
# default flags
# This contains the compiler options necessary to select the CPU model
# and (hopefully) optimize for it.
CPU_CFLAGS =
# optimize flag: typically -O2

View File

@@ -15,9 +15,8 @@ include $(RTEMS_ROOT)/make/custom/default.cfg
# This is the actual bsp directory used during the build process.
RTEMS_BSP_FAMILY = nios2_iss
# "-Gx" tells gcc to put objects of up to x bytes into sections sdata/sbss
# where they could be addressed using the global pointer gp. -G0 effectively
# disables the use of gp.
# This contains the compiler options necessary to select the CPU model
# and (hopefully) optimize for it.
CPU_CFLAGS = -mno-hw-mul -mno-hw-div
# optimize flag: typically -O2

View File

@@ -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

View File

@@ -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

View File

@@ -5,11 +5,9 @@
#
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
# 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

View File

@@ -5,11 +5,9 @@
#
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
# 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

View File

@@ -5,11 +5,9 @@
#
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
# 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

View File

@@ -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

View File

@@ -8,6 +8,9 @@ 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.

View File

@@ -8,6 +8,9 @@ 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.