diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-04-21 10:22:08 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-04-23 15:18:42 +0200 |
commit | adb85dd473af5c9a72e9da9b7fe013d1b216abc3 (patch) | |
tree | ed54d2ce2354cf2b75995d1e1f2bc685436bc4ca /bsps/powerpc/gen83xx | |
parent | bsps: Remove AC_CONFIG_SRCDIR() (diff) | |
download | rtems-adb85dd473af5c9a72e9da9b7fe013d1b216abc3.tar.bz2 |
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.
Diffstat (limited to 'bsps/powerpc/gen83xx')
-rw-r--r-- | bsps/powerpc/gen83xx/config/br_uid.cfg | 10 | ||||
-rw-r--r-- | bsps/powerpc/gen83xx/config/gen83xx.inc | 22 | ||||
-rw-r--r-- | bsps/powerpc/gen83xx/config/hsc_cm01.cfg | 10 | ||||
-rw-r--r-- | bsps/powerpc/gen83xx/config/mpc8309som.cfg | 10 | ||||
-rw-r--r-- | bsps/powerpc/gen83xx/config/mpc8313erdb.cfg | 10 | ||||
-rw-r--r-- | bsps/powerpc/gen83xx/config/mpc8349eamds.cfg | 10 |
6 files changed, 72 insertions, 0 deletions
diff --git a/bsps/powerpc/gen83xx/config/br_uid.cfg b/bsps/powerpc/gen83xx/config/br_uid.cfg new file mode 100644 index 0000000000..0db23d54dd --- /dev/null +++ b/bsps/powerpc/gen83xx/config/br_uid.cfg @@ -0,0 +1,10 @@ +## +# +# @file +# +# @ingroup mpc83xx_config +# +# @brief Configuration file for the BR UID base board +# + +include $(RTEMS_ROOT)/make/custom/gen83xx.inc diff --git a/bsps/powerpc/gen83xx/config/gen83xx.inc b/bsps/powerpc/gen83xx/config/gen83xx.inc new file mode 100644 index 0000000000..e1bee9f786 --- /dev/null +++ b/bsps/powerpc/gen83xx/config/gen83xx.inc @@ -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 diff --git a/bsps/powerpc/gen83xx/config/hsc_cm01.cfg b/bsps/powerpc/gen83xx/config/hsc_cm01.cfg new file mode 100644 index 0000000000..8f2ac1829d --- /dev/null +++ b/bsps/powerpc/gen83xx/config/hsc_cm01.cfg @@ -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 diff --git a/bsps/powerpc/gen83xx/config/mpc8309som.cfg b/bsps/powerpc/gen83xx/config/mpc8309som.cfg new file mode 100644 index 0000000000..be25fcd4fb --- /dev/null +++ b/bsps/powerpc/gen83xx/config/mpc8309som.cfg @@ -0,0 +1,10 @@ +## +# +# @file +# +# @ingroup mpc83xx_config +# +# @brief Configuration file for the MPC8309 System on Module. +# + +include $(RTEMS_ROOT)/make/custom/gen83xx.inc diff --git a/bsps/powerpc/gen83xx/config/mpc8313erdb.cfg b/bsps/powerpc/gen83xx/config/mpc8313erdb.cfg new file mode 100644 index 0000000000..4a6331e8c4 --- /dev/null +++ b/bsps/powerpc/gen83xx/config/mpc8313erdb.cfg @@ -0,0 +1,10 @@ +## +# +# @file +# +# @ingroup mpc83xx_config +# +# @brief Configuration file for the MPC8313E Reference Design Board. +# + +include $(RTEMS_ROOT)/make/custom/gen83xx.inc diff --git a/bsps/powerpc/gen83xx/config/mpc8349eamds.cfg b/bsps/powerpc/gen83xx/config/mpc8349eamds.cfg new file mode 100644 index 0000000000..b58c60a92a --- /dev/null +++ b/bsps/powerpc/gen83xx/config/mpc8349eamds.cfg @@ -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 |