diff options
Diffstat (limited to 'cpukit/score/include')
-rw-r--r-- | cpukit/score/include/rtems/system.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/cpukit/score/include/rtems/system.h b/cpukit/score/include/rtems/system.h index 5e9cabb448..f0c3c6f3e5 100644 --- a/cpukit/score/include/rtems/system.h +++ b/cpukit/score/include/rtems/system.h @@ -28,10 +28,17 @@ extern "C" { */ /* - * FIXME: Instead of targopts.h, cpuopts.h should be included here. - * #include <rtems/score/cpuopts.h> + * FIXME: cpuopts.h should be included here. */ +#if defined(__sh__) \ + || defined(__mc68000__) \ + || defined(__i960__) + /* these cpus are ready to apply cpuopts.h */ +#include <rtems/score/cpuopts.h> +#else + /* fallback to targopts.h */ #include <rtems/score/targopts.h> +#endif /* * The following insures that all data is declared in the space |