Ignore:
Timestamp:
Jan 18, 2002, 10:33:49 PM (19 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
9ee8036
Parents:
8560ed94
Message:

2001-01-18 Joel Sherrill <joel@…>

  • include/rtems/system.h: Only include cpuopts.h when building a multilib configuration. Some ports still need targopts.h but this small modification lets those ports work non-multilib while fixing being fixed for multilib.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/score/include/rtems/system.h

    r8560ed94 r61129cc5  
    2828 */
    2929
    30 /*
    31  * FIXME: cpuopts.h should be included here.
    32  */
    33 #if defined(_AM29K) \
    34   || defined(__hppa__) \
    35   || defined(__h8300__) \
    36   || defined(__i960__) \
    37   || defined(__mc68000__) \
    38   || defined(__sh__) \
    39   || defined(__sparc__) \
    40   || defined(__i386__)
    41   /* these cpus are ready to apply cpuopts.h */
    4230#include <rtems/score/cpuopts.h>
    43 #else
    44   /* fallback to targopts.h for mips and powerpc */
     31
     32/*
     33 * FIXME: No port should have to include targopts.h
     34 *
     35 *  Most cpus are ready to apply only cpuopts.h but these ports
     36 *  unfortunately still need targopts.h.  This means these ports
     37 *  are not ready to be built multilib yet.
     38 */
     39
     40#if !defined(RTEMS_MULTILIB)
     41#if defined(__PPC__) || defined(__sparc__) || defined(__i386__)
    4542#include <rtems/score/targopts.h>
     43#endif
    4644#endif
    4745
Note: See TracChangeset for help on using the changeset viewer.