aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorThomas Preud'homme <thomas.preudhomme@arm.com>2016-11-22 14:01:57 +0000
committerThomas Preud'homme <thopre01@gcc.gnu.org>2016-11-22 14:01:57 +0000
commit3e0201f014abc0cca2c6b0286b3cd7f552b30f19 (patch)
treea9b1f797425555a2efe3836cb585a61b522be2d7 /gcc/config.gcc
parentc69fb8161a4fcfc302c026dec3c0c4103731cd37 (diff)
downloadgcc-3e0201f014abc0cca2c6b0286b3cd7f552b30f19.zip
gcc-3e0201f014abc0cca2c6b0286b3cd7f552b30f19.tar.gz
gcc-3e0201f014abc0cca2c6b0286b3cd7f552b30f19.tar.bz2
Add multilib support for embedded bare-metal targets
2016-11-22 Thomas Preud'homme <thomas.preudhomme@arm.com> gcc/ * config.gcc: Allow new rmprofile value for configure option --with-multilib-list. * config/arm/t-rmprofile: New file. * doc/install.texi (--with-multilib-list): Document new rmprofile value for ARM. From-SVN: r242696
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc17
1 files changed, 14 insertions, 3 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index d1e3acd..98267d8 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -3756,6 +3756,16 @@ case "${target}" in
# pragmatic.
tmake_profile_file="arm/t-aprofile"
;;
+ rmprofile)
+ # Note that arm/t-rmprofile is a
+ # stand-alone make file fragment to be
+ # used only with itself. We do not
+ # specifically use the
+ # TM_MULTILIB_OPTION framework because
+ # this shorthand is more
+ # pragmatic.
+ tmake_profile_file="arm/t-rmprofile"
+ ;;
default)
;;
*)
@@ -3765,9 +3775,10 @@ case "${target}" in
esac
if test "x${tmake_profile_file}" != x ; then
- # arm/t-aprofile is only designed to work
- # without any with-cpu, with-arch, with-mode,
- # with-fpu or with-float options.
+ # arm/t-aprofile and arm/t-rmprofile are only
+ # designed to work without any with-cpu,
+ # with-arch, with-mode, with-fpu or with-float
+ # options.
if test "x$with_arch" != x \
|| test "x$with_cpu" != x \
|| test "x$with_float" != x \