diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-09-17 14:15:53 +0000 |
---|---|---|
committer | Joel Sherrill <joel@gcc.gnu.org> | 2014-09-17 14:15:53 +0000 |
commit | 776c9a0da190239f7b631e927a00c305acc9dbf1 (patch) | |
tree | 11fd9b29a5f9cb245bd092b016598949163ff392 /gcc/config.gcc | |
parent | 580d22a375b6044233991bb753dd5b7fbf469ce8 (diff) | |
download | gcc-776c9a0da190239f7b631e927a00c305acc9dbf1.zip gcc-776c9a0da190239f7b631e927a00c305acc9dbf1.tar.gz gcc-776c9a0da190239f7b631e927a00c305acc9dbf1.tar.bz2 |
config.gcc (*-*-rtems*): Default to 'rtems' thread model.
2014-09-17 Sebastian Huber <sebastian.huber@embedded-brains.de>
* config.gcc (*-*-rtems*): Default to 'rtems' thread model.
Enable selection of 'posix' or no thread model.
From-SVN: r215324
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r-- | gcc/config.gcc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc index a33bce9..caafa7e 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -785,7 +785,13 @@ case ${target} in ;; *-*-rtems*) case ${enable_threads} in - yes) thread_file='rtems' ;; + "" | yes | rtems) thread_file='rtems' ;; + posix) thread_file='posix' ;; + no) ;; + *) + echo 'Unknown thread configuration for RTEMS' + exit 1 + ;; esac tmake_file="${tmake_file} t-rtems" extra_options="${extra_options} rtems.opt" |