forked from Imagelibrary/rtems
bsps: Move make/custom/* files to bsps
Adjust various build files. Remove automatic generation of the c/src/lib/libbsp/*/acinclude.m4 files from bootstrap script. This patch is a part of the BSP source reorganization. Update #3285.
This commit is contained in:
39
bsps/powerpc/beatnik/config/beatnik.cfg
Normal file
39
bsps/powerpc/beatnik/config/beatnik.cfg
Normal file
@@ -0,0 +1,39 @@
|
||||
#
|
||||
# Config file for the PowerPC 745x based mvmexxxx
|
||||
#
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
|
||||
RTEMS_CPU=powerpc
|
||||
RTEMS_PPC_EXCEPTION_PROCESSING_MODEL=new
|
||||
|
||||
# This is the actual bsp directory used during the build process.
|
||||
RTEMS_BSP_FAMILY=beatnik
|
||||
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
#
|
||||
CPU_CFLAGS = -mcpu=7400 -D__ppc_generic
|
||||
#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
|
||||
#CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions
|
||||
CFLAGS_OPTIMIZE_V = -O2 -g
|
||||
CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
|
||||
|
||||
LDFLAGS = -Wl,--gc-sections
|
||||
|
||||
# debug flags: typically none, but at least -O1 is required due to this
|
||||
# BSP using inlined code
|
||||
CFLAGS_DEBUG_V = -O1 -g
|
||||
|
||||
define bsp-post-link
|
||||
$(default-bsp-post-link)
|
||||
$(OBJCOPY) -O binary $@ $(basename $@)$(DOWNEXT)
|
||||
endef
|
||||
|
||||
# Miscellaneous additions go here
|
||||
START_BASE = motld_start
|
||||
10
bsps/powerpc/gen5200/config/brs5l.cfg
Normal file
10
bsps/powerpc/gen5200/config/brs5l.cfg
Normal file
@@ -0,0 +1,10 @@
|
||||
#
|
||||
# Config file for customer specific MPC5200 board
|
||||
#
|
||||
|
||||
#
|
||||
# All GEN5200 configurations share the same base file, only a few
|
||||
# parameters differ.
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/gen5200.inc
|
||||
10
bsps/powerpc/gen5200/config/brs6l.cfg
Normal file
10
bsps/powerpc/gen5200/config/brs6l.cfg
Normal file
@@ -0,0 +1,10 @@
|
||||
#
|
||||
# Config file for customer specific MPC5200 board
|
||||
#
|
||||
|
||||
#
|
||||
# All GEN5200 configurations share the same base file, only a few
|
||||
# parameters differ.
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/gen5200.inc
|
||||
5
bsps/powerpc/gen5200/config/dp2.cfg
Normal file
5
bsps/powerpc/gen5200/config/dp2.cfg
Normal file
@@ -0,0 +1,5 @@
|
||||
#
|
||||
# Config file for Direct Prototyping Data Processing (DP2) board.
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/gen5200.inc
|
||||
19
bsps/powerpc/gen5200/config/gen5200.inc
Normal file
19
bsps/powerpc/gen5200/config/gen5200.inc
Normal file
@@ -0,0 +1,19 @@
|
||||
#
|
||||
# Shared base config file for GEN5200 BSPs
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
|
||||
RTEMS_CPU=powerpc
|
||||
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
#
|
||||
CPU_CFLAGS = -mcpu=603e -mstrict-align \
|
||||
-meabi -msdata=sysv -fno-common
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions
|
||||
CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
|
||||
|
||||
LDFLAGS = -Wl,--gc-sections
|
||||
12
bsps/powerpc/gen5200/config/icecube.cfg
Normal file
12
bsps/powerpc/gen5200/config/icecube.cfg
Normal file
@@ -0,0 +1,12 @@
|
||||
#
|
||||
# Config file for Freescale 5200Lite a.k.a. IceCube
|
||||
#
|
||||
# NOTE: This is the same as the Embedded Planets EP5200C and
|
||||
# possibly other MPC5200 boards.
|
||||
|
||||
#
|
||||
# All GEN5200 configurations share the same base file, only a few
|
||||
# parameters differ.
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/gen5200.inc
|
||||
10
bsps/powerpc/gen5200/config/pm520_cr825.cfg
Normal file
10
bsps/powerpc/gen5200/config/pm520_cr825.cfg
Normal file
@@ -0,0 +1,10 @@
|
||||
#
|
||||
# Config file for MicroSys PM520 Module (based on MPC5200)
|
||||
# on carrier board CR825
|
||||
|
||||
#
|
||||
# All GEN5200 configurations share the same base file, only a few
|
||||
# parameters differ.
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/gen5200.inc
|
||||
10
bsps/powerpc/gen5200/config/pm520_ze30.cfg
Normal file
10
bsps/powerpc/gen5200/config/pm520_ze30.cfg
Normal file
@@ -0,0 +1,10 @@
|
||||
#
|
||||
# Config file for MicroSys PM520 Module (based on MPC5200)
|
||||
# on carrier board ZE30
|
||||
|
||||
#
|
||||
# All GEN5200 configurations share the same base file, only a few
|
||||
# parameters differ.
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/gen5200.inc
|
||||
10
bsps/powerpc/gen83xx/config/br_uid.cfg
Normal file
10
bsps/powerpc/gen83xx/config/br_uid.cfg
Normal file
@@ -0,0 +1,10 @@
|
||||
##
|
||||
#
|
||||
# @file
|
||||
#
|
||||
# @ingroup mpc83xx_config
|
||||
#
|
||||
# @brief Configuration file for the BR UID base board
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/gen83xx.inc
|
||||
22
bsps/powerpc/gen83xx/config/gen83xx.inc
Normal file
22
bsps/powerpc/gen83xx/config/gen83xx.inc
Normal file
@@ -0,0 +1,22 @@
|
||||
#
|
||||
# Shared base config file for GEN83xx BSPs
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
#
|
||||
# FIXME: we might want to use the e300 CPU model explicitely,
|
||||
# using -me300
|
||||
# but I doubt the compiler actually generates different code
|
||||
#
|
||||
RTEMS_CPU=powerpc
|
||||
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
#
|
||||
CPU_CFLAGS = -mcpu=603e -meabi -msdata=sysv -fno-common -mstrict-align
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions
|
||||
CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
|
||||
|
||||
LDFLAGS = -Wl,--gc-sections
|
||||
10
bsps/powerpc/gen83xx/config/hsc_cm01.cfg
Normal file
10
bsps/powerpc/gen83xx/config/hsc_cm01.cfg
Normal file
@@ -0,0 +1,10 @@
|
||||
#
|
||||
# Config file for customer specific MPC8349 board
|
||||
#
|
||||
|
||||
#
|
||||
# All GEN83xx configurations share the same base file, only a few
|
||||
# parameters differ.
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/gen83xx.inc
|
||||
10
bsps/powerpc/gen83xx/config/mpc8309som.cfg
Normal file
10
bsps/powerpc/gen83xx/config/mpc8309som.cfg
Normal file
@@ -0,0 +1,10 @@
|
||||
##
|
||||
#
|
||||
# @file
|
||||
#
|
||||
# @ingroup mpc83xx_config
|
||||
#
|
||||
# @brief Configuration file for the MPC8309 System on Module.
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/gen83xx.inc
|
||||
10
bsps/powerpc/gen83xx/config/mpc8313erdb.cfg
Normal file
10
bsps/powerpc/gen83xx/config/mpc8313erdb.cfg
Normal file
@@ -0,0 +1,10 @@
|
||||
##
|
||||
#
|
||||
# @file
|
||||
#
|
||||
# @ingroup mpc83xx_config
|
||||
#
|
||||
# @brief Configuration file for the MPC8313E Reference Design Board.
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/gen83xx.inc
|
||||
10
bsps/powerpc/gen83xx/config/mpc8349eamds.cfg
Normal file
10
bsps/powerpc/gen83xx/config/mpc8349eamds.cfg
Normal file
@@ -0,0 +1,10 @@
|
||||
#
|
||||
# Config file for freescale's MPC8349EAMDS evaluation board
|
||||
#
|
||||
|
||||
#
|
||||
# All GEN83xx configurations share the same base file, only a few
|
||||
# parameters differ.
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/gen83xx.inc
|
||||
28
bsps/powerpc/haleakala/config/haleakala.cfg
Normal file
28
bsps/powerpc/haleakala/config/haleakala.cfg
Normal file
@@ -0,0 +1,28 @@
|
||||
#
|
||||
# Config file for a PowerPC 405 based card
|
||||
# mhamel
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
|
||||
RTEMS_CPU=powerpc
|
||||
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
#
|
||||
CPU_CFLAGS = -mcpu=405 -Dppc405
|
||||
|
||||
# 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
|
||||
CFLAGS_OPTIMIZE_V = -O1 -g
|
||||
|
||||
# FIXME: Disabled because linkcmds lacks proper KEEP() directives. See #2561.
|
||||
# The following two lines enable compiling and linking on per element.
|
||||
# CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
|
||||
# LDFLAGS = -Wl,--gc-sections
|
||||
|
||||
define bsp-post-link
|
||||
$(default-bsp-post-link)
|
||||
$(OBJCOPY) -O srec $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
|
||||
endef
|
||||
31
bsps/powerpc/motorola_powerpc/config/mcp750.cfg
Normal file
31
bsps/powerpc/motorola_powerpc/config/mcp750.cfg
Normal file
@@ -0,0 +1,31 @@
|
||||
#
|
||||
# Config file for Motorola MCP750 -- a MPC750 CompactPCI board
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
|
||||
RTEMS_CPU=powerpc
|
||||
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
#
|
||||
CPU_CFLAGS = -mcpu=750 -Dmpc750
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V = -O2 -g -mmultiple -mstring -mstrict-align
|
||||
CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
|
||||
|
||||
LDFLAGS = -Wl,--gc-sections
|
||||
|
||||
define bsp-post-link
|
||||
$(default-bsp-post-link)
|
||||
$(OBJCOPY) -O binary -R .comment -S $(basename $@)$(EXEEXT) rtems
|
||||
gzip -vf9 rtems
|
||||
$(LD) -o $(basename $@)$(DOWNEXT) \
|
||||
$ $(PROJECT_RELEASE)/lib/bootloader.o \
|
||||
--just-symbols=$(basename $@)$(EXEEXT) \
|
||||
--no-warn-mismatch \
|
||||
-b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \
|
||||
-Map $(basename $@).map && chmod 755 $@
|
||||
rm -f rtems.gz
|
||||
endef
|
||||
32
bsps/powerpc/motorola_powerpc/config/mtx603e.cfg
Normal file
32
bsps/powerpc/motorola_powerpc/config/mtx603e.cfg
Normal file
@@ -0,0 +1,32 @@
|
||||
#
|
||||
# Config file for Motorola MTX603e -- a MPC603e ATX form factor board
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
|
||||
RTEMS_CPU=powerpc
|
||||
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
CPU_CFLAGS = -mcpu=603e -Dppc603e
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V = -O2 -g -mmultiple -mstring -mstrict-align
|
||||
CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
|
||||
|
||||
LDFLAGS = -Wl,--gc-sections
|
||||
|
||||
define bsp-post-link
|
||||
$(default-bsp-post-link)
|
||||
$(OBJCOPY) -O binary -R .comment -S $(basename $@)$(EXEEXT) rtems
|
||||
gzip -vf9 rtems
|
||||
$(LD) -o $(basename $@)$(DOWNEXT) \
|
||||
$(PROJECT_RELEASE)/lib/bootloader.o \
|
||||
--just-symbols=$(basename $@)$(EXEEXT) \
|
||||
--no-warn-mismatch \
|
||||
-b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \
|
||||
-Map $(basename $@).map && chmod 755 $@
|
||||
rm -f rtems.gz
|
||||
endef
|
||||
|
||||
# Miscellaneous additions go here
|
||||
30
bsps/powerpc/motorola_powerpc/config/mvme2100.cfg
Normal file
30
bsps/powerpc/motorola_powerpc/config/mvme2100.cfg
Normal file
@@ -0,0 +1,30 @@
|
||||
#
|
||||
# Config file for Motorola MVME2100 -- a MPC8240 VMEBus board
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
|
||||
RTEMS_CPU=powerpc
|
||||
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
CPU_CFLAGS = -mcpu=603e -Dppc603e
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V = -O2 -g -mmultiple -mstring -mstrict-align
|
||||
CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
|
||||
|
||||
LDFLAGS = -Wl,--gc-sections
|
||||
|
||||
define bsp-post-link
|
||||
$(default-bsp-post-link)
|
||||
$(OBJCOPY) -O binary -R .comment -S $(basename $@)$(EXEEXT) rtems
|
||||
gzip -vf9 rtems
|
||||
$(LD) -o $(basename $@)$(DOWNEXT) \
|
||||
$(PROJECT_RELEASE)/lib/bootloader.o \
|
||||
--just-symbols=$(basename $@)$(EXEEXT) \
|
||||
--no-warn-mismatch \
|
||||
-b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \
|
||||
-Map $(basename $@).map && chmod 755 $@
|
||||
rm -f rtems.gz
|
||||
endef
|
||||
30
bsps/powerpc/motorola_powerpc/config/mvme2307.cfg
Normal file
30
bsps/powerpc/motorola_powerpc/config/mvme2307.cfg
Normal file
@@ -0,0 +1,30 @@
|
||||
#
|
||||
# Config file for the PowerPC 604 based mvme2307
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
|
||||
RTEMS_CPU=powerpc
|
||||
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
#
|
||||
CPU_CFLAGS = -mcpu=604 -mmultiple -mstring -mstrict-align -meabi
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V = -O2 -g
|
||||
CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
|
||||
|
||||
LDFLAGS = -Wl,--gc-sections
|
||||
|
||||
define bsp-post-link
|
||||
$(default-bsp-post-link)
|
||||
$(OBJCOPY) -O binary -R .comment -S $(basename $@)$(EXEEXT) rtems
|
||||
gzip -vf9 rtems
|
||||
$(LD) -o $(basename $@)$(DOWNEXT) $(PROJECT_RELEASE)/lib/bootloader.o \
|
||||
--just-symbols=$(basename $@)$(EXEEXT) \
|
||||
--no-warn-mismatch \
|
||||
-b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \
|
||||
-Map $(basename $@).map && chmod 755 $@
|
||||
rm -f rtems.gz
|
||||
endef
|
||||
37
bsps/powerpc/motorola_powerpc/config/qemuprep-altivec.cfg
Normal file
37
bsps/powerpc/motorola_powerpc/config/qemuprep-altivec.cfg
Normal file
@@ -0,0 +1,37 @@
|
||||
#
|
||||
# Config file for the PowerPC 604 based mvme2307
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
|
||||
RTEMS_CPU=powerpc
|
||||
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
#
|
||||
CPU_CFLAGS = -mcpu=7400 -mmultiple -mstring -mstrict-align -D__ppc_generic
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V = -O2 -g
|
||||
CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
|
||||
|
||||
LDFLAGS = -Wl,--gc-sections
|
||||
|
||||
ifdef PURE_BINARY
|
||||
define bsp-post-link
|
||||
$(default-bsp-post-link)
|
||||
$(OBJCOPY) -O binary -R .comment -S $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
|
||||
endef
|
||||
else
|
||||
define bsp-post-link
|
||||
$(default-bsp-post-link)
|
||||
$(OBJCOPY) -O binary -R .comment -S $(basename $@)$(EXEEXT) rtems
|
||||
gzip -vf9 rtems
|
||||
$(LD) -o $(basename $@)$(DOWNEXT) $(PROJECT_RELEASE)/lib/bootloader.o \
|
||||
--just-symbols=$(basename $@)$(EXEEXT) \
|
||||
--no-warn-mismatch \
|
||||
-b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \
|
||||
-Map $(basename $@).map && chmod 755 $@
|
||||
rm -f rtems.gz
|
||||
endef
|
||||
endif
|
||||
37
bsps/powerpc/motorola_powerpc/config/qemuprep.cfg
Normal file
37
bsps/powerpc/motorola_powerpc/config/qemuprep.cfg
Normal file
@@ -0,0 +1,37 @@
|
||||
#
|
||||
# Config file for the PowerPC 604 based mvme2307
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
|
||||
RTEMS_CPU=powerpc
|
||||
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
#
|
||||
CPU_CFLAGS = -mcpu=powerpc -mmultiple -mstring -mstrict-align -D__ppc_generic
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V = -O2 -g
|
||||
CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
|
||||
|
||||
LDFLAGS = -Wl,--gc-sections
|
||||
|
||||
ifdef PURE_BINARY
|
||||
define bsp-post-link
|
||||
$(default-bsp-post-link)
|
||||
$(OBJCOPY) -O binary -R .comment -S $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
|
||||
endef
|
||||
else
|
||||
define bsp-post-link
|
||||
$(default-bsp-post-link)
|
||||
$(OBJCOPY) -O binary -R .comment -S $(basename $@)$(EXEEXT) rtems
|
||||
gzip -vf9 rtems
|
||||
$(LD) -o $(basename $@)$(DOWNEXT) $(PROJECT_RELEASE)/lib/bootloader.o \
|
||||
--just-symbols=$(basename $@)$(EXEEXT) \
|
||||
--no-warn-mismatch \
|
||||
-b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \
|
||||
-Map $(basename $@).map && chmod 755 $@
|
||||
rm -f rtems.gz
|
||||
endef
|
||||
endif
|
||||
11
bsps/powerpc/mpc55xxevb/config/gwlcfm-testsuite.tcfg
Normal file
11
bsps/powerpc/mpc55xxevb/config/gwlcfm-testsuite.tcfg
Normal file
@@ -0,0 +1,11 @@
|
||||
#
|
||||
# gwlcfm RTEMS Test Database.
|
||||
#
|
||||
# Format is one line per test that is _NOT_ built.
|
||||
#
|
||||
|
||||
include: testdata/dltests-broken-on-this-bsp.tcfg
|
||||
include: testdata/disable-jffs2-tests.tcfg
|
||||
|
||||
exclude: fsdosfsname01
|
||||
exclude: linpack
|
||||
10
bsps/powerpc/mpc55xxevb/config/gwlcfm.cfg
Normal file
10
bsps/powerpc/mpc55xxevb/config/gwlcfm.cfg
Normal file
@@ -0,0 +1,10 @@
|
||||
##
|
||||
#
|
||||
# @file
|
||||
#
|
||||
# @ingroup mpc55xx_config
|
||||
#
|
||||
# @brief configuration file for the GWLCFM MPC5516 board
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/mpc55xx.inc
|
||||
11
bsps/powerpc/mpc55xxevb/config/mpc5566evb-testsuite.tcfg
Normal file
11
bsps/powerpc/mpc55xxevb/config/mpc5566evb-testsuite.tcfg
Normal file
@@ -0,0 +1,11 @@
|
||||
#
|
||||
# mpc5566evb RTEMS Test Database.
|
||||
#
|
||||
# Format is one line per test that is _NOT_ built.
|
||||
#
|
||||
|
||||
include: testdata/dltests-broken-on-this-bsp.tcfg
|
||||
include: testdata/disable-jffs2-tests.tcfg
|
||||
|
||||
exclude: fsdosfsname01
|
||||
exclude: linpack
|
||||
10
bsps/powerpc/mpc55xxevb/config/mpc5566evb.cfg
Normal file
10
bsps/powerpc/mpc55xxevb/config/mpc5566evb.cfg
Normal file
@@ -0,0 +1,10 @@
|
||||
##
|
||||
#
|
||||
# @file
|
||||
#
|
||||
# @ingroup mpc55xx_config
|
||||
#
|
||||
# @brief Configuration file for MPC5566 evaluation board.
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/mpc55xx.inc
|
||||
11
bsps/powerpc/mpc55xxevb/config/mpc5566evb_spe-testsuite.tcfg
Normal file
11
bsps/powerpc/mpc55xxevb/config/mpc5566evb_spe-testsuite.tcfg
Normal file
@@ -0,0 +1,11 @@
|
||||
#
|
||||
# mpc5566evb_spe RTEMS Test Database.
|
||||
#
|
||||
# Format is one line per test that is _NOT_ built.
|
||||
#
|
||||
|
||||
include: testdata/dltests-broken-on-this-bsp.tcfg
|
||||
include: testdata/disable-jffs2-tests.tcfg
|
||||
|
||||
exclude: fsdosfsname01
|
||||
exclude: linpack
|
||||
1
bsps/powerpc/mpc55xxevb/config/mpc5566evb_spe.cfg
Normal file
1
bsps/powerpc/mpc55xxevb/config/mpc5566evb_spe.cfg
Normal file
@@ -0,0 +1 @@
|
||||
include $(RTEMS_ROOT)/make/custom/mpc55xx_spe.inc
|
||||
23
bsps/powerpc/mpc55xxevb/config/mpc55xx.inc
Normal file
23
bsps/powerpc/mpc55xxevb/config/mpc55xx.inc
Normal file
@@ -0,0 +1,23 @@
|
||||
##
|
||||
#
|
||||
# @file
|
||||
#
|
||||
# @ingroup mpc55xx_config
|
||||
#
|
||||
# @brief Shared configuration file for the MPC55xx board family.
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
|
||||
RTEMS_CPU = powerpc
|
||||
|
||||
CPU_CFLAGS_FLOAT ?= -msoft-float -mno-spe
|
||||
|
||||
# FIXME
|
||||
CPU_CFLAGS = -mcpu=8540 -meabi -msdata=sysv -fno-common $(CPU_CFLAGS_FLOAT) \
|
||||
-D__ppc_generic -mstrict-align
|
||||
|
||||
CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions
|
||||
CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
|
||||
|
||||
LDFLAGS = -Wl,--gc-sections
|
||||
3
bsps/powerpc/mpc55xxevb/config/mpc55xx_spe.inc
Normal file
3
bsps/powerpc/mpc55xxevb/config/mpc55xx_spe.inc
Normal file
@@ -0,0 +1,3 @@
|
||||
CPU_CFLAGS_FLOAT ?= -mspe -mabi=spe -mfloat-gprs=single
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/mpc55xx.inc
|
||||
13
bsps/powerpc/mpc55xxevb/config/mpc5643l_dpu-testsuite.tcfg
Normal file
13
bsps/powerpc/mpc55xxevb/config/mpc5643l_dpu-testsuite.tcfg
Normal file
@@ -0,0 +1,13 @@
|
||||
#
|
||||
# mpc5643l_dpu RTEMS Test Database.
|
||||
#
|
||||
# Format is one line per test that is _NOT_ built.
|
||||
#
|
||||
|
||||
include: testdata/dltests-broken-on-this-bsp.tcfg
|
||||
include: testdata/disable-jffs2-tests.tcfg
|
||||
|
||||
exclude: flashdisk01
|
||||
exclude: fsdosfsname01
|
||||
exclude: linpack
|
||||
exclude: spstkalloc02
|
||||
10
bsps/powerpc/mpc55xxevb/config/mpc5643l_dpu.cfg
Normal file
10
bsps/powerpc/mpc55xxevb/config/mpc5643l_dpu.cfg
Normal file
@@ -0,0 +1,10 @@
|
||||
##
|
||||
#
|
||||
# @file
|
||||
#
|
||||
# @ingroup mpc55xx_config
|
||||
#
|
||||
# @brief Configuration file for MPC5643L Data Processing Unit board.
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/mpc55xx.inc
|
||||
13
bsps/powerpc/mpc55xxevb/config/mpc5643l_evb-testsuite.tcfg
Normal file
13
bsps/powerpc/mpc55xxevb/config/mpc5643l_evb-testsuite.tcfg
Normal file
@@ -0,0 +1,13 @@
|
||||
#
|
||||
# mpc5643l_evb RTEMS Test Database.
|
||||
#
|
||||
# Format is one line per test that is _NOT_ built.
|
||||
#
|
||||
|
||||
include: testdata/dltests-broken-on-this-bsp.tcfg
|
||||
include: testdata/disable-jffs2-tests.tcfg
|
||||
|
||||
exclude: flashdisk01
|
||||
exclude: fsdosfsname01
|
||||
exclude: linpack
|
||||
exclude: spstkalloc02
|
||||
10
bsps/powerpc/mpc55xxevb/config/mpc5643l_evb.cfg
Normal file
10
bsps/powerpc/mpc55xxevb/config/mpc5643l_evb.cfg
Normal file
@@ -0,0 +1,10 @@
|
||||
##
|
||||
#
|
||||
# @file
|
||||
#
|
||||
# @ingroup mpc55xx_config
|
||||
#
|
||||
# @brief Configuration file for XKT564LEVB evaluation board.
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/mpc55xx.inc
|
||||
7
bsps/powerpc/mpc55xxevb/config/mpc5668g-testsuite.tcfg
Normal file
7
bsps/powerpc/mpc55xxevb/config/mpc5668g-testsuite.tcfg
Normal file
@@ -0,0 +1,7 @@
|
||||
#
|
||||
# This is the set of tests which are known to not link on this BSP
|
||||
#
|
||||
|
||||
include: testdata/dltests-broken-on-this-bsp.tcfg
|
||||
|
||||
exclude: linpack
|
||||
1
bsps/powerpc/mpc55xxevb/config/mpc5668g.cfg
Normal file
1
bsps/powerpc/mpc55xxevb/config/mpc5668g.cfg
Normal file
@@ -0,0 +1 @@
|
||||
include $(RTEMS_ROOT)/make/custom/mpc55xx.inc
|
||||
@@ -0,0 +1,8 @@
|
||||
#
|
||||
# This is the set of tests which are known to not link on this BSP
|
||||
#
|
||||
|
||||
include: testdata/disable-iconv-tests.tcfg
|
||||
include: testdata/dltests-broken-on-this-bsp.tcfg
|
||||
|
||||
exclude: linpack
|
||||
1
bsps/powerpc/mpc55xxevb/config/mpc5674f_ecu508_app.cfg
Normal file
1
bsps/powerpc/mpc55xxevb/config/mpc5674f_ecu508_app.cfg
Normal file
@@ -0,0 +1 @@
|
||||
include $(RTEMS_ROOT)/make/custom/mpc55xx_spe.inc
|
||||
@@ -0,0 +1,11 @@
|
||||
#
|
||||
# mpc5674f_ecu508_boot RTEMS Test Database.
|
||||
#
|
||||
# Format is one line per test that is _NOT_ built.
|
||||
#
|
||||
|
||||
include: testdata/disable-iconv-tests.tcfg
|
||||
include: testdata/dltests-broken-on-this-bsp.tcfg
|
||||
|
||||
exclude: fsdosfsname01
|
||||
exclude: linpack
|
||||
1
bsps/powerpc/mpc55xxevb/config/mpc5674f_ecu508_boot.cfg
Normal file
1
bsps/powerpc/mpc55xxevb/config/mpc5674f_ecu508_boot.cfg
Normal file
@@ -0,0 +1 @@
|
||||
include $(RTEMS_ROOT)/make/custom/mpc55xx_spe.inc
|
||||
11
bsps/powerpc/mpc55xxevb/config/mpc5674f_rsm6-testsuite.tcfg
Normal file
11
bsps/powerpc/mpc55xxevb/config/mpc5674f_rsm6-testsuite.tcfg
Normal file
@@ -0,0 +1,11 @@
|
||||
#
|
||||
# mpc5674f_rsm6 RTEMS Test Database.
|
||||
#
|
||||
# Format is one line per test that is _NOT_ built.
|
||||
#
|
||||
|
||||
include: testdata/disable-iconv-tests.tcfg
|
||||
include: testdata/dltests-broken-on-this-bsp.tcfg
|
||||
|
||||
exclude: fsdosfsname01
|
||||
exclude: linpack
|
||||
1
bsps/powerpc/mpc55xxevb/config/mpc5674f_rsm6.cfg
Normal file
1
bsps/powerpc/mpc55xxevb/config/mpc5674f_rsm6.cfg
Normal file
@@ -0,0 +1 @@
|
||||
include $(RTEMS_ROOT)/make/custom/mpc55xx_spe.inc
|
||||
@@ -0,0 +1,7 @@
|
||||
#
|
||||
# This is the set of tests which are known to not link on this BSP
|
||||
#
|
||||
|
||||
include: testdata/dltests-broken-on-this-bsp.tcfg
|
||||
|
||||
exclude: linpack
|
||||
11
bsps/powerpc/mpc55xxevb/config/mpc5674fevb.cfg
Normal file
11
bsps/powerpc/mpc55xxevb/config/mpc5674fevb.cfg
Normal file
@@ -0,0 +1,11 @@
|
||||
##
|
||||
#
|
||||
# @file
|
||||
#
|
||||
# @ingroup mpc55xx_config
|
||||
#
|
||||
# @brief Configuration file for MPC567XEVBFXMB evaluation board equipped with
|
||||
# an MPC5674F core from Freescale and Axiom.
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/mpc55xx.inc
|
||||
@@ -0,0 +1,7 @@
|
||||
#
|
||||
# This is the set of tests which are known to not link on this BSP
|
||||
#
|
||||
|
||||
include: testdata/dltests-broken-on-this-bsp.tcfg
|
||||
|
||||
exclude: linpack
|
||||
1
bsps/powerpc/mpc55xxevb/config/mpc5674fevb_spe.cfg
Normal file
1
bsps/powerpc/mpc55xxevb/config/mpc5674fevb_spe.cfg
Normal file
@@ -0,0 +1 @@
|
||||
include $(RTEMS_ROOT)/make/custom/mpc55xx_spe.inc
|
||||
@@ -0,0 +1,10 @@
|
||||
#
|
||||
# phycore_mpc5554 RTEMS Test Database.
|
||||
#
|
||||
# Format is one line per test that is _NOT_ built.
|
||||
#
|
||||
|
||||
include: testdata/dltests-broken-on-this-bsp.tcfg
|
||||
include: testdata/disable-jffs2-tests.tcfg
|
||||
|
||||
exclude: fsdosfsname01
|
||||
1
bsps/powerpc/mpc55xxevb/config/phycore_mpc5554.cfg
Normal file
1
bsps/powerpc/mpc55xxevb/config/phycore_mpc5554.cfg
Normal file
@@ -0,0 +1 @@
|
||||
include $(RTEMS_ROOT)/make/custom/mpc55xx_spe.inc
|
||||
23
bsps/powerpc/mpc8260ads/config/mpc8260ads.cfg
Normal file
23
bsps/powerpc/mpc8260ads/config/mpc8260ads.cfg
Normal file
@@ -0,0 +1,23 @@
|
||||
#
|
||||
# Config file for MPC8260 based Motorola ADS board
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
|
||||
RTEMS_CPU=powerpc
|
||||
8XX_CPU_TYPE=8260
|
||||
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
#
|
||||
# CPU_CFLAGS = -mcpu=$(8XX_CPU_TYPE) -mstrict-align
|
||||
CPU_CFLAGS = -mcpu=603e -mstrict-align -Dmpc8260 \
|
||||
-meabi -msdata=sysv -fno-common
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions
|
||||
|
||||
# FIXME: Disabled because linkcmds lacks proper KEEP() directives. See #2565.
|
||||
# The following two lines enable compiling and linking on per element.
|
||||
# CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
|
||||
# LDFLAGS = -Wl,--gc-sections
|
||||
23
bsps/powerpc/mvme3100/config/mvme3100.cfg
Normal file
23
bsps/powerpc/mvme3100/config/mvme3100.cfg
Normal file
@@ -0,0 +1,23 @@
|
||||
#
|
||||
# Config file for the PowerPC 8540 based mvme3100
|
||||
#
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
|
||||
RTEMS_CPU=powerpc
|
||||
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
CPU_CFLAGS = -mcpu=powerpc -msoft-float -D__ppc_generic
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V = -O2 -g
|
||||
CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
|
||||
|
||||
LDFLAGS = -Wl,--gc-sections
|
||||
|
||||
define bsp-post-link
|
||||
$(default-bsp-post-link)
|
||||
$(OBJCOPY) -O binary $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
|
||||
endef
|
||||
28
bsps/powerpc/mvme5500/config/mvme5500.cfg
Normal file
28
bsps/powerpc/mvme5500/config/mvme5500.cfg
Normal file
@@ -0,0 +1,28 @@
|
||||
#
|
||||
# Config file for the PowerPC 7455 based mvme5500
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
|
||||
RTEMS_CPU=powerpc
|
||||
|
||||
# This is the actual bsp directory used during the build process.
|
||||
RTEMS_BSP_FAMILY=mvme5500
|
||||
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
CPU_CFLAGS = -mcpu=7450 -mtune=7450 -Dmpc7455
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V = -O2 -g
|
||||
CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
|
||||
|
||||
LDFLAGS = -Wl,--gc-sections
|
||||
|
||||
define bsp-post-link
|
||||
$(default-bsp-post-link)
|
||||
$(OBJCOPY) -O binary $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
|
||||
endef
|
||||
|
||||
#
|
||||
START_BASE=mvme5500start
|
||||
18
bsps/powerpc/psim/config/psim.cfg
Normal file
18
bsps/powerpc/psim/config/psim.cfg
Normal file
@@ -0,0 +1,18 @@
|
||||
#
|
||||
# Config file for the PowerPC 60x simulator - psim
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
|
||||
RTEMS_CPU=powerpc
|
||||
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
CPU_CFLAGS = -meabi -mcpu=603e -msdata=sysv -fno-common -Dppc603e
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions
|
||||
|
||||
# arguments to compile and link with per-element sections
|
||||
CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
|
||||
LDFLAGS = -Wl,--gc-sections
|
||||
24
bsps/powerpc/qemuppc/config/qemuppc.cfg
Normal file
24
bsps/powerpc/qemuppc/config/qemuppc.cfg
Normal file
@@ -0,0 +1,24 @@
|
||||
#
|
||||
# Config file for the PowerPC 60x simulator in Qemu
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
|
||||
RTEMS_CPU=powerpc
|
||||
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
CPU_CFLAGS = -mcpu=603e -Dppc603e
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions
|
||||
|
||||
# FIXME: Disabled because linkcmds lacks proper KEEP() directives. See #2564.
|
||||
# The following two lines enable compiling and linking on per element.
|
||||
# CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
|
||||
# LDFLAGS = -Wl,--gc-sections
|
||||
|
||||
define bsp-post-link
|
||||
$(default-bsp-post-link)
|
||||
$(OBJCOPY) -O binary $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
|
||||
endef
|
||||
23
bsps/powerpc/qoriq/config/qoriq.inc
Normal file
23
bsps/powerpc/qoriq/config/qoriq.inc
Normal file
@@ -0,0 +1,23 @@
|
||||
#
|
||||
# Shared base config file for QorIQ BSPs
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
|
||||
RTEMS_CPU = powerpc
|
||||
|
||||
CPU_CFLAGS = -mcpu=8540 -meabi -msdata=sysv -fno-common -mstrict-align \
|
||||
-mspe -mabi=spe -mfloat-gprs=double \
|
||||
-D__ppc_generic
|
||||
|
||||
CFLAGS_OPTIMIZE_V = -O2 -g
|
||||
CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
|
||||
|
||||
LDFLAGS = -Wl,--gc-sections
|
||||
|
||||
# define bsp-post-link
|
||||
# $(OBJCOPY) -O binary '$@' '$(basename $@).bin'
|
||||
# gzip -f -9 '$(basename $@).bin'
|
||||
# mkimage -A ppc -O linux -T kernel -a 0x4000 -e 0x4000 -name '$(notdir $@)' -d '$(basename $@).bin.gz' '$(basename $@).img'
|
||||
# $(default-bsp-post-link)
|
||||
# endef
|
||||
5
bsps/powerpc/qoriq/config/qoriq_core_0-testsuite.tcfg
Normal file
5
bsps/powerpc/qoriq/config/qoriq_core_0-testsuite.tcfg
Normal file
@@ -0,0 +1,5 @@
|
||||
#
|
||||
# This is the set of tests which are known to not link on this BSP
|
||||
#
|
||||
|
||||
include: testdata/dltests-broken-on-this-bsp.tcfg
|
||||
3
bsps/powerpc/qoriq/config/qoriq_core_0.cfg
Normal file
3
bsps/powerpc/qoriq/config/qoriq_core_0.cfg
Normal file
@@ -0,0 +1,3 @@
|
||||
# Config file for QorIQ Core 0
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/qoriq.inc
|
||||
5
bsps/powerpc/qoriq/config/qoriq_core_1-testsuite.tcfg
Normal file
5
bsps/powerpc/qoriq/config/qoriq_core_1-testsuite.tcfg
Normal file
@@ -0,0 +1,5 @@
|
||||
#
|
||||
# This is the set of tests which are known to not link on this BSP
|
||||
#
|
||||
|
||||
include: testdata/dltests-broken-on-this-bsp.tcfg
|
||||
3
bsps/powerpc/qoriq/config/qoriq_core_1.cfg
Normal file
3
bsps/powerpc/qoriq/config/qoriq_core_1.cfg
Normal file
@@ -0,0 +1,3 @@
|
||||
# Config file for QorIQ Core 1
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/qoriq.inc
|
||||
5
bsps/powerpc/qoriq/config/qoriq_e500-testsuite.tcfg
Normal file
5
bsps/powerpc/qoriq/config/qoriq_e500-testsuite.tcfg
Normal file
@@ -0,0 +1,5 @@
|
||||
#
|
||||
# This is the set of tests which are known to not link on this BSP
|
||||
#
|
||||
|
||||
include: testdata/dltests-broken-on-this-bsp.tcfg
|
||||
3
bsps/powerpc/qoriq/config/qoriq_e500.cfg
Normal file
3
bsps/powerpc/qoriq/config/qoriq_e500.cfg
Normal file
@@ -0,0 +1,3 @@
|
||||
# Config file for e500 or e500v2 core based QorIQ chips, e.g. P1020, P2040
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/qoriq.inc
|
||||
5
bsps/powerpc/qoriq/config/qoriq_e6500_32-testsuite.tcfg
Normal file
5
bsps/powerpc/qoriq/config/qoriq_e6500_32-testsuite.tcfg
Normal file
@@ -0,0 +1,5 @@
|
||||
#
|
||||
# This is the set of tests which are known to not link on this BSP
|
||||
#
|
||||
|
||||
include: testdata/dltests-broken-on-this-bsp.tcfg
|
||||
13
bsps/powerpc/qoriq/config/qoriq_e6500_32.cfg
Normal file
13
bsps/powerpc/qoriq/config/qoriq_e6500_32.cfg
Normal file
@@ -0,0 +1,13 @@
|
||||
# Config file for e6500 core based QorIQ chips, e.g. T2080, T4240
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
|
||||
RTEMS_CPU = powerpc
|
||||
|
||||
CPU_CFLAGS = -mcpu=e6500 -m32 -msdata=sysv -fno-common \
|
||||
-D__ppc_generic
|
||||
|
||||
CFLAGS_OPTIMIZE_V = -O2 -g
|
||||
CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
|
||||
|
||||
LDFLAGS = -Wl,--gc-sections
|
||||
5
bsps/powerpc/qoriq/config/qoriq_e6500_64-testsuite.tcfg
Normal file
5
bsps/powerpc/qoriq/config/qoriq_e6500_64-testsuite.tcfg
Normal file
@@ -0,0 +1,5 @@
|
||||
#
|
||||
# This is the set of tests which are known to not link on this BSP
|
||||
#
|
||||
|
||||
include: testdata/dltests-broken-on-this-bsp.tcfg
|
||||
14
bsps/powerpc/qoriq/config/qoriq_e6500_64.cfg
Normal file
14
bsps/powerpc/qoriq/config/qoriq_e6500_64.cfg
Normal file
@@ -0,0 +1,14 @@
|
||||
# Config file for e6500 core based QorIQ chips in 64-bit mode, e.g. T2080,
|
||||
# T4240
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
|
||||
RTEMS_CPU = powerpc
|
||||
|
||||
CPU_CFLAGS = -mcpu=e6500 -m64 -fno-common \
|
||||
-D__ppc_generic
|
||||
|
||||
CFLAGS_OPTIMIZE_V = -O2 -g
|
||||
CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
|
||||
|
||||
LDFLAGS = -Wl,--gc-sections
|
||||
32
bsps/powerpc/ss555/config/ss555.cfg
Normal file
32
bsps/powerpc/ss555/config/ss555.cfg
Normal file
@@ -0,0 +1,32 @@
|
||||
#
|
||||
# Config file for an Intec Automation SS555 MPC555-based card
|
||||
#
|
||||
# This file is derived from:
|
||||
#
|
||||
# Config file for a PowerPC MPC860-based MBX821-001 card.
|
||||
# Config file for a PowerPC 403 based helas403 card
|
||||
# Config file for MPC860 based Ethernet Comm Board
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
|
||||
RTEMS_CPU=powerpc
|
||||
GCC_CPU_MODEL=505
|
||||
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
#
|
||||
CPU_CFLAGS = -mcpu=$(GCC_CPU_MODEL) -Dmpc555
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions
|
||||
|
||||
# FIXME: Disabled because linkcmds lacks proper KEEP() directives. See #2563.
|
||||
# The following two lines enable compiling and linking on per element.
|
||||
# CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
|
||||
# LDFLAGS = -Wl,--gc-sections
|
||||
|
||||
define bsp-post-link
|
||||
$(default-bsp-post-link)
|
||||
cp $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
|
||||
$(STRIP) $(basename $@)$(DOWNEXT)
|
||||
endef
|
||||
11
bsps/powerpc/t32mppc/config/t32mppc.cfg
Normal file
11
bsps/powerpc/t32mppc/config/t32mppc.cfg
Normal file
@@ -0,0 +1,11 @@
|
||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
|
||||
RTEMS_CPU = powerpc
|
||||
|
||||
CPU_CFLAGS = -mcpu=8540 -meabi -msdata=sysv -fno-common -msoft-float -mno-spe \
|
||||
-D__ppc_generic
|
||||
|
||||
CFLAGS_OPTIMIZE_V = -Og -g
|
||||
CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
|
||||
|
||||
LDFLAGS = -Wl,--gc-sections
|
||||
10
bsps/powerpc/tqm8xx/config/pghplus.cfg
Normal file
10
bsps/powerpc/tqm8xx/config/pghplus.cfg
Normal file
@@ -0,0 +1,10 @@
|
||||
#
|
||||
# Config file for a PowerPC MPC860-based TQM8xx carrier board.
|
||||
#
|
||||
|
||||
#
|
||||
# All TQM8xx configurations share the same base file, only a few
|
||||
# parameters differ.
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/tqm8xx.inc
|
||||
23
bsps/powerpc/tqm8xx/config/tqm8xx.inc
Normal file
23
bsps/powerpc/tqm8xx/config/tqm8xx.inc
Normal file
@@ -0,0 +1,23 @@
|
||||
#
|
||||
# Config file for a PowerPC MPC8xx-based TQM8xx carrier card
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
|
||||
RTEMS_CPU=powerpc
|
||||
|
||||
CPU_CFLAGS = -mcpu=860 -Dmpc860 \
|
||||
-mstrict-align -fno-strict-aliasing \
|
||||
-meabi -msdata=sysv -fno-common
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions
|
||||
CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
|
||||
|
||||
LDFLAGS = -Wl,--gc-sections
|
||||
|
||||
define bsp-post-link
|
||||
cp $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
|
||||
$(STRIP) $(basename $@)$(DOWNEXT)
|
||||
$(default-bsp-post-link)
|
||||
endef
|
||||
10
bsps/powerpc/tqm8xx/config/tqm8xx_stk8xx.cfg
Normal file
10
bsps/powerpc/tqm8xx/config/tqm8xx_stk8xx.cfg
Normal file
@@ -0,0 +1,10 @@
|
||||
#
|
||||
# Config file for a PowerPC MPC860-based TQM8xx starter kit base board
|
||||
#
|
||||
|
||||
#
|
||||
# All TQM8xx configurations share the same base file, only a few
|
||||
# parameters differ.
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/tqm8xx.inc
|
||||
25
bsps/powerpc/virtex/config/virtex.cfg
Normal file
25
bsps/powerpc/virtex/config/virtex.cfg
Normal file
@@ -0,0 +1,25 @@
|
||||
#
|
||||
# Config file for a generic PowerPC 405 based card
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
|
||||
RTEMS_CPU=powerpc
|
||||
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
#
|
||||
CPU_CFLAGS = -mcpu=403 -Dppc405 -meabi -msdata=sysv -fno-common
|
||||
|
||||
# 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
|
||||
CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions
|
||||
CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
|
||||
|
||||
LDFLAGS = -Wl,--gc-sections
|
||||
|
||||
define bsp-post-link
|
||||
$(default-bsp-post-link)
|
||||
$(OBJCOPY) -O srec $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
|
||||
endef
|
||||
21
bsps/powerpc/virtex4/config/virtex4.cfg
Normal file
21
bsps/powerpc/virtex4/config/virtex4.cfg
Normal file
@@ -0,0 +1,21 @@
|
||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
|
||||
RTEMS_CPU=powerpc
|
||||
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
#
|
||||
CPU_CFLAGS = -mcpu=405 -Dppc405
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions
|
||||
CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
|
||||
|
||||
LDFLAGS = -Wl,--gc-sections
|
||||
|
||||
# Miscellaneous additions go here
|
||||
define bsp-post-link
|
||||
$(default-bsp-post-link)
|
||||
$(OBJCOPY) -O srec $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
|
||||
endef
|
||||
|
||||
21
bsps/powerpc/virtex5/config/virtex5.cfg
Normal file
21
bsps/powerpc/virtex5/config/virtex5.cfg
Normal file
@@ -0,0 +1,21 @@
|
||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
|
||||
RTEMS_CPU=powerpc
|
||||
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
#
|
||||
CPU_CFLAGS = -mcpu=440 -Dppc440 -msoft-float
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions
|
||||
CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
|
||||
|
||||
LDFLAGS = -Wl,--gc-sections
|
||||
|
||||
# Miscellaneous additions go here
|
||||
define bsp-post-link
|
||||
$(default-bsp-post-link)
|
||||
$(OBJCOPY) -O srec $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
|
||||
endef
|
||||
|
||||
Reference in New Issue
Block a user