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
This commit is contained in:
Sebastian Huber 2014-09-17 14:15:53 +00:00 committed by Joel Sherrill
parent 580d22a375
commit 776c9a0da1
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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.
2014-09-17 Andrew Stubbs <ams@codesourcery.com>
* config/arm/arm.c (arm_option_override): Reject -mfpu=neon

View File

@ -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"