mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
2000-10-20 Joel Sherrill <joel@OARcorp.com>
* configure.in, Makefile.am: Explicitly specify whether an RTEMS_CPU_MODEL is using old or new exception processing. This is important because when building multilib, you do not know the RTEMS_CPU_MODEL. So everything built in a multilib'ed RTEMS must be independent of the exception model and allow for late binding to the exception code.
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
2000-10-20 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* configure.in, Makefile.am: Explicitly specify whether an
|
||||
RTEMS_CPU_MODEL is using old or new exception processing. This
|
||||
is important because when building multilib, you do not know
|
||||
the RTEMS_CPU_MODEL. So everything built in a multilib'ed RTEMS
|
||||
must be independent of the exception model and allow for late
|
||||
binding to the exception code.
|
||||
|
||||
2000-10-18 Sergei Organov <osv@javad.ru>
|
||||
|
||||
* Added full support for MPC505.
|
||||
|
||||
@@ -10,9 +10,12 @@ if shared
|
||||
SHARED_LIB = shared
|
||||
endif
|
||||
|
||||
## Use new or old exception processing based on the CPU
|
||||
if new_exception_processing
|
||||
EXCEPTION_SUBDIR = new_exception_processing
|
||||
else
|
||||
endif
|
||||
|
||||
if old_exception_processing
|
||||
EXCEPTION_SUBDIR = old_exception_processing
|
||||
endif
|
||||
|
||||
|
||||
@@ -34,10 +34,22 @@ AM_CONDITIONAL(shared, test "$RTEMS_CPU_MODEL" = "mpc750" \
|
||||
|| test "$RTEMS_CPU_MODEL" = "mpc860" \
|
||||
|| test "$RTEMS_CPU_MODEL" = "mpc8xx" )
|
||||
|
||||
## there are no 601 or 602 BSPs currently. The 505 BSPs are in user land.
|
||||
AM_CONDITIONAL(new_exception_processing, \
|
||||
test "$RTEMS_CPU_MODEL" = "mpc750" || \
|
||||
test "$RTEMS_CPU_MODEL" = "mpc604")
|
||||
|
||||
## The goal is to get rid of the old exception processing code but
|
||||
## but all BSPs in the distribution must be migrated to the new model
|
||||
## first.
|
||||
AM_CONDITIONAL(old_exception_processing, \
|
||||
test "$RTEMS_CPU_MODEL" = "ppc403" || \
|
||||
test "$RTEMS_CPU_MODEL" = "mpc505" || \
|
||||
test "$RTEMS_CPU_MODEL" = "ppc603e" || \
|
||||
test "$RTEMS_CPU_MODEL" = "mpc8xx" \
|
||||
)
|
||||
|
||||
## test on CPU type
|
||||
AM_CONDITIONAL(mpc505, test "$RTEMS_CPU_MODEL" = "mpc505")
|
||||
AM_CONDITIONAL(mpc6xx, test "$RTEMS_CPU_MODEL" = "mpc6xx" \
|
||||
|| test "$RTEMS_CPU_MODEL" = "mpc604" \
|
||||
|
||||
Reference in New Issue
Block a user