mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
Misc cleanups.
This commit is contained in:
@@ -14,6 +14,8 @@ RTEMS_BSP_FAMILY=posix
|
|||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
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
|
CPU_CFLAGS = -D_BSD_SOURCE -D_POSIX_C_SOURCE
|
||||||
|
|
||||||
# optimize flag: typically -O2
|
# optimize flag: typically -O2
|
||||||
|
|||||||
@@ -14,6 +14,8 @@ RTEMS_BSP_FAMILY=posix
|
|||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
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__
|
CPU_CFLAGS += -Dsolaris2 -D__EXTENSIONS__
|
||||||
|
|
||||||
# optimize flag: typically -O2
|
# optimize flag: typically -O2
|
||||||
|
|||||||
@@ -11,6 +11,8 @@ RTEMS_BSP=bare
|
|||||||
|
|
||||||
RTEMS_CPU_MODEL=$(BARE_CPU_MODEL)
|
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)
|
CPU_CFLAGS =$(BARE_CPU_CFLAGS)
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||||
|
|||||||
@@ -7,6 +7,9 @@
|
|||||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||||
|
|
||||||
RTEMS_CPU_MODEL=c32
|
RTEMS_CPU_MODEL=c32
|
||||||
|
|
||||||
|
# This contains the compiler options necessary to select the CPU model
|
||||||
|
# and (hopefully) optimize for it.
|
||||||
CPU_CFLAGS = -mcpu=32
|
CPU_CFLAGS = -mcpu=32
|
||||||
|
|
||||||
# This is the actual bsp directory used during the build process.
|
# This is the actual bsp directory used during the build process.
|
||||||
|
|||||||
@@ -7,6 +7,9 @@
|
|||||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||||
|
|
||||||
RTEMS_CPU_MODEL=c40
|
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
|
CPU_CFLAGS = -mcpu=40 #-msmall
|
||||||
|
|
||||||
# This is the actual bsp directory used during the build process.
|
# This is the actual bsp directory used during the build process.
|
||||||
|
|||||||
@@ -14,15 +14,12 @@ include $(RTEMS_ROOT)/make/custom/default.cfg
|
|||||||
# This is the actual bsp directory used during the build process.
|
# This is the actual bsp directory used during the build process.
|
||||||
RTEMS_BSP_FAMILY=csb360
|
RTEMS_BSP_FAMILY=csb360
|
||||||
|
|
||||||
#
|
# This contains the compiler options necessary to select the CPU model
|
||||||
# You must use versions of gcc and gas that support the -m5200 option.
|
# and (hopefully) optimize for it.
|
||||||
#
|
|
||||||
CPU_CFLAGS = -m5200
|
CPU_CFLAGS = -m5200
|
||||||
|
|
||||||
# optimize flag: typically -O2
|
# optimize flag: typically -O2
|
||||||
# It looks like any optimization level > 0 causes problems
|
CFLAGS_OPTIMIZE_V = -O2 -fomit-frame-pointer
|
||||||
# with gcc-3.4.0. Until they are fixed, we'll use -O0
|
|
||||||
CFLAGS_OPTIMIZE_V = -O0 -fomit-frame-pointer
|
|
||||||
|
|
||||||
# The following are definitions of make-exe which will work using ld as
|
# The following are definitions of make-exe which will work using ld as
|
||||||
# is currently required.
|
# is currently required.
|
||||||
|
|||||||
@@ -13,6 +13,8 @@ RTEMS_CPU_MODEL=erc32
|
|||||||
# This is the actual bsp directory used during the build process.
|
# This is the actual bsp directory used during the build process.
|
||||||
RTEMS_BSP_FAMILY=erc32
|
RTEMS_BSP_FAMILY=erc32
|
||||||
|
|
||||||
|
# This contains the compiler options necessary to select the CPU model
|
||||||
|
# and (hopefully) optimize for it.
|
||||||
CPU_CFLAGS = -mcpu=cypress
|
CPU_CFLAGS = -mcpu=cypress
|
||||||
|
|
||||||
# optimize flag: typically -O2
|
# optimize flag: typically -O2
|
||||||
|
|||||||
@@ -14,6 +14,8 @@ include $(RTEMS_ROOT)/make/custom/default.cfg
|
|||||||
# This is the actual bsp directory used during the build process.
|
# This is the actual bsp directory used during the build process.
|
||||||
RTEMS_BSP_FAMILY=erc32
|
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
|
CPU_CFLAGS = -mcpu=cypress -msoft-float
|
||||||
|
|
||||||
# optimize flag: typically -O2
|
# optimize flag: typically -O2
|
||||||
|
|||||||
@@ -13,6 +13,8 @@ include $(RTEMS_ROOT)/make/custom/default.cfg
|
|||||||
# This is the actual bsp directory used during the build process.
|
# This is the actual bsp directory used during the build process.
|
||||||
RTEMS_BSP_FAMILY=gen68340
|
RTEMS_BSP_FAMILY=gen68340
|
||||||
|
|
||||||
|
# This contains the compiler options necessary to select the CPU model
|
||||||
|
# and (hopefully) optimize for it.
|
||||||
CPU_CFLAGS = -mcpu32
|
CPU_CFLAGS = -mcpu32
|
||||||
|
|
||||||
# optimize flag: typically -O2
|
# optimize flag: typically -O2
|
||||||
@@ -27,19 +29,5 @@ define make-exe
|
|||||||
$(NM) -g -n $@ > $(basename $@).num
|
$(NM) -g -n $@ > $(basename $@).num
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
endef
|
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
|
# Miscellaneous additions go here
|
||||||
|
|||||||
@@ -17,9 +17,8 @@ include $(RTEMS_ROOT)/make/custom/default.cfg
|
|||||||
# This is the actual bsp directory used during the build process.
|
# This is the actual bsp directory used during the build process.
|
||||||
RTEMS_BSP_FAMILY=gen68360
|
RTEMS_BSP_FAMILY=gen68360
|
||||||
|
|
||||||
#
|
# This contains the compiler options necessary to select the CPU model
|
||||||
# You must use versions of gcc and gas that support the -mcpu32 option.
|
# and (hopefully) optimize for it.
|
||||||
#
|
|
||||||
ifeq ($(RTEMS_GEN68360_COMPANION_MODE),yes)
|
ifeq ($(RTEMS_GEN68360_COMPANION_MODE),yes)
|
||||||
CPU_CFLAGS = -m68040
|
CPU_CFLAGS = -m68040
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -11,10 +11,8 @@ RTEMS_CPU_MODEL=leon2
|
|||||||
# This is the actual bsp directory used during the build process.
|
# This is the actual bsp directory used during the build process.
|
||||||
RTEMS_BSP_FAMILY=leon2
|
RTEMS_BSP_FAMILY=leon2
|
||||||
|
|
||||||
# This had been used with gcc-2.7.2
|
# This contains the compiler options necessary to select the CPU model
|
||||||
# CPU_CFLAGS = -mno-v8 -mcypress $(MSOFT_FLOAT)
|
# and (hopefully) optimize for it.
|
||||||
# -mcpu=cypress says to optimize for a Cypress 60x chipset
|
|
||||||
#CPU_CFLAGS = -mcpu=cypress $(MSOFT_FLOAT)
|
|
||||||
CPU_CFLAGS = -mcpu=cypress -msoft-float
|
CPU_CFLAGS = -mcpu=cypress -msoft-float
|
||||||
|
|
||||||
# optimize flag: typically -O2
|
# optimize flag: typically -O2
|
||||||
@@ -30,4 +28,3 @@ define make-exe
|
|||||||
$(SIZE) $(basename $@).exe
|
$(SIZE) $(basename $@).exe
|
||||||
endef
|
endef
|
||||||
# Miscellaneous additions go here
|
# Miscellaneous additions go here
|
||||||
|
|
||||||
|
|||||||
@@ -13,10 +13,8 @@ RTEMS_CPU_MODEL=leon3
|
|||||||
# This is the actual bsp directory used during the build process.
|
# This is the actual bsp directory used during the build process.
|
||||||
RTEMS_BSP_FAMILY=leon3
|
RTEMS_BSP_FAMILY=leon3
|
||||||
|
|
||||||
# This had been used with gcc-2.7.2
|
# This contains the compiler options necessary to select the CPU model
|
||||||
# CPU_CFLAGS = -mno-v8 -mcypress $(MSOFT_FLOAT)
|
# and (hopefully) optimize for it.
|
||||||
# -mcpu=cypress says to optimize for a Cypress 60x chipset
|
|
||||||
#CPU_CFLAGS = -mcpu=cypress $(MSOFT_FLOAT)
|
|
||||||
CPU_CFLAGS = -mcpu=cypress -msoft-float
|
CPU_CFLAGS = -mcpu=cypress -msoft-float
|
||||||
|
|
||||||
# optimize flag: typically -O2
|
# optimize flag: typically -O2
|
||||||
|
|||||||
@@ -14,9 +14,8 @@ include $(RTEMS_ROOT)/make/custom/default.cfg
|
|||||||
# This is the actual bsp directory used during the build process.
|
# This is the actual bsp directory used during the build process.
|
||||||
RTEMS_BSP_FAMILY=mcf5206elite
|
RTEMS_BSP_FAMILY=mcf5206elite
|
||||||
|
|
||||||
#
|
# This contains the compiler options necessary to select the CPU model
|
||||||
# You must use versions of gcc and gas that support the -m5200 option.
|
# and (hopefully) optimize for it.
|
||||||
#
|
|
||||||
CPU_CFLAGS = -m5200
|
CPU_CFLAGS = -m5200
|
||||||
|
|
||||||
# optimize flag: typically -O2
|
# optimize flag: typically -O2
|
||||||
|
|||||||
@@ -12,7 +12,8 @@ RTEMS_CPU_MODEL=m68030
|
|||||||
# This is the actual bsp directory used during the build process.
|
# This is the actual bsp directory used during the build process.
|
||||||
RTEMS_BSP_FAMILY=mvme147
|
RTEMS_BSP_FAMILY=mvme147
|
||||||
|
|
||||||
# default flags
|
# This contains the compiler options necessary to select the CPU model
|
||||||
|
# and (hopefully) optimize for it.
|
||||||
CPU_CFLAGS =
|
CPU_CFLAGS =
|
||||||
|
|
||||||
# optimize flag: typically -O2
|
# optimize flag: typically -O2
|
||||||
|
|||||||
@@ -15,9 +15,8 @@ include $(RTEMS_ROOT)/make/custom/default.cfg
|
|||||||
# This is the actual bsp directory used during the build process.
|
# This is the actual bsp directory used during the build process.
|
||||||
RTEMS_BSP_FAMILY = nios2_iss
|
RTEMS_BSP_FAMILY = nios2_iss
|
||||||
|
|
||||||
# "-Gx" tells gcc to put objects of up to x bytes into sections sdata/sbss
|
# This contains the compiler options necessary to select the CPU model
|
||||||
# where they could be addressed using the global pointer gp. -G0 effectively
|
# and (hopefully) optimize for it.
|
||||||
# disables the use of gp.
|
|
||||||
CPU_CFLAGS = -mno-hw-mul -mno-hw-div
|
CPU_CFLAGS = -mno-hw-mul -mno-hw-div
|
||||||
|
|
||||||
# optimize flag: typically -O2
|
# optimize flag: typically -O2
|
||||||
|
|||||||
@@ -12,12 +12,4 @@ RTEMS_CPU_MODEL=no_cpu_model
|
|||||||
# This is the actual bsp directory used during the build process.
|
# This is the actual bsp directory used during the build process.
|
||||||
RTEMS_BSP_FAMILY=no_bsp
|
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
|
# Miscellaneous additions go here
|
||||||
|
|||||||
@@ -5,6 +5,9 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
RTEMS_CPU_MODEL=i386dx
|
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
|
CPU_CFLAGS = -msoft-float -mno-fp-ret-in-387
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/pc386.cfg
|
include $(RTEMS_ROOT)/make/custom/pc386.cfg
|
||||||
|
|||||||
@@ -5,11 +5,9 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
RTEMS_CPU_MODEL=i486dx
|
RTEMS_CPU_MODEL=i486dx
|
||||||
# gcc 2.95.x and 3.0
|
|
||||||
#CPU_CFLAGS = -m486
|
# This contains the compiler options necessary to select the CPU model
|
||||||
# gcc 3.1 and newer
|
# and (hopefully) optimize for it.
|
||||||
# CPU_CFLAGS = -mcpu=i486
|
|
||||||
# gcc 4.0 and newer
|
|
||||||
CPU_CFLAGS = -mtune=i486
|
CPU_CFLAGS = -mtune=i486
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/pc386.cfg
|
include $(RTEMS_ROOT)/make/custom/pc386.cfg
|
||||||
|
|||||||
@@ -5,11 +5,9 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
RTEMS_CPU_MODEL=pentium
|
RTEMS_CPU_MODEL=pentium
|
||||||
# gcc 2.95.x and 3.0
|
|
||||||
#CPU_CFLAGS = -mpentium
|
# This contains the compiler options necessary to select the CPU model
|
||||||
# gcc 3.1 and newer
|
# and (hopefully) optimize for it.
|
||||||
# CPU_CFLAGS = -mcpu=pentium
|
|
||||||
# gcc 4.0 and newer
|
|
||||||
CPU_CFLAGS = -mtune=pentium
|
CPU_CFLAGS = -mtune=pentium
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/pc386.cfg
|
include $(RTEMS_ROOT)/make/custom/pc386.cfg
|
||||||
|
|||||||
@@ -5,11 +5,9 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
RTEMS_CPU_MODEL=pentiumpro
|
RTEMS_CPU_MODEL=pentiumpro
|
||||||
# gcc 2.95.x and 3.0
|
|
||||||
#CPU_CFLAGS = -mpentiumpro
|
# This contains the compiler options necessary to select the CPU model
|
||||||
# gcc 3.1 and newer
|
# and (hopefully) optimize for it.
|
||||||
# CPU_CFLAGS = -mcpu=pentiumpro
|
|
||||||
# gcc 4.0 and newer
|
|
||||||
CPU_CFLAGS = -mtune=pentiumpro
|
CPU_CFLAGS = -mtune=pentiumpro
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/pc386.cfg
|
include $(RTEMS_ROOT)/make/custom/pc386.cfg
|
||||||
|
|||||||
@@ -5,9 +5,9 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
RTEMS_CPU_MODEL=pentium
|
RTEMS_CPU_MODEL=pentium
|
||||||
# gcc 3.1 and newer
|
|
||||||
# CPU_CFLAGS = -mcpu=k6
|
# This contains the compiler options necessary to select the CPU model
|
||||||
# gcc 4.0 and newer
|
# and (hopefully) optimize for it.
|
||||||
CPU_CFLAGS = -mtune=k6
|
CPU_CFLAGS = -mtune=k6
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/pc386.cfg
|
include $(RTEMS_ROOT)/make/custom/pc386.cfg
|
||||||
|
|||||||
@@ -8,6 +8,9 @@ include $(RTEMS_ROOT)/make/custom/default.cfg
|
|||||||
|
|
||||||
RTEMS_CPU=m68k
|
RTEMS_CPU=m68k
|
||||||
RTEMS_CPU_MODEL=m68000
|
RTEMS_CPU_MODEL=m68000
|
||||||
|
|
||||||
|
# This contains the compiler options necessary to select the CPU model
|
||||||
|
# and (hopefully) optimize for it.
|
||||||
CPU_CFLAGS = -m68000
|
CPU_CFLAGS = -m68000
|
||||||
|
|
||||||
# This is the actual bsp directory used during the build process.
|
# This is the actual bsp directory used during the build process.
|
||||||
|
|||||||
@@ -8,6 +8,9 @@ include $(RTEMS_ROOT)/make/custom/default.cfg
|
|||||||
|
|
||||||
RTEMS_CPU=m68k
|
RTEMS_CPU=m68k
|
||||||
RTEMS_CPU_MODEL=mcpu32
|
RTEMS_CPU_MODEL=mcpu32
|
||||||
|
|
||||||
|
# This contains the compiler options necessary to select the CPU model
|
||||||
|
# and (hopefully) optimize for it.
|
||||||
CPU_CFLAGS = -mcpu32
|
CPU_CFLAGS = -mcpu32
|
||||||
|
|
||||||
# This is the actual bsp directory used during the build process.
|
# This is the actual bsp directory used during the build process.
|
||||||
|
|||||||
Reference in New Issue
Block a user