Changeset fe5851c in rtems


Ignore:
Timestamp:
Jun 29, 2000, 3:29:31 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
dedb090f
Parents:
5019592
Message:

Patch rtems-rc-20000627-1 from Ralf Corsepius <corsepiu@…>
that is part of the multilib/gnu-canonicalization movement:

Changes:

  • New m4-macro: aclocal/multilib.am
  • Suppress multiprocessing if --enable-multilib is given to configure

Notes:

For now this patch only suppresses multiprocessing if
--enable-multilib is given to configure and should not have any
other side-effects, ie. it works around a minor issue which prevents
introduction of multilibs in general.

The RTEMS_ENABLE_MULTILIB_MASTER macro is the core part to build
real multilibs, but can not be applied before other multilib related
issues with RTEMS have been solved. (e.g. sptables.h, bsp_specs,
Cygnus/Gnu? canonicalization, _RTEMS_version, targopts.h, changing
the installation point/tooldir support, etc.).

Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • Makefile.am

    r5019592 rfe5851c  
    3030    aclocal/prog-cc.m4 aclocal/prog-cxx.m4 aclocal/project-root.m4 \
    3131    aclocal/rtems-top.m4 aclocal/sysv-ipc.m4 aclocal/target.m4 \
    32     aclocal/tool-paths.m4 aclocal/tool-prefix.m4
     32    aclocal/tool-paths.m4 aclocal/tool-prefix.m4 aclocal/multilib.m4
    3333
    3434noinst_SCRIPTS = bootstrap
  • aclocal/check-multiprocessing.m4

    r5019592 rfe5851c  
    55AC_DEFUN(RTEMS_CHECK_MULTIPROCESSING,
    66[dnl
     7AC_REQUIRE([RTEMS_ENABLE_MULTILIB])dnl
    78AC_REQUIRE([RTEMS_ENV_RTEMSBSP])dnl
    89AC_REQUIRE([RTEMS_TOP])dnl
     
    1415  rtems_cv_HAS_MP,
    1516  [dnl
    16     if test -d "$srcdir/${RTEMS_TOPdir}/c/src/lib/libbsp/${RTEMS_CPU}/${RTEMS_BSP_FAMILY}/shmsupp"; then
    17       if test "$RTEMS_HAS_MULTIPROCESSING" = "yes"; then
    18         rtems_cv_HAS_MP="yes" ;
     17    if test x"$multilib" = x"yes"; then
     18      # FIXME: Currently, multilibs and multiprocessing can not be
     19      # build simultaneously
     20      rtems_cv_HAS_MP="disabled"
     21    else
     22      if test -d "$srcdir/${RTEMS_TOPdir}/c/src/lib/libbsp/${RTEMS_CPU}/${RTEMS_BSP_FAMILY}/shmsupp"; then
     23        if test "$RTEMS_HAS_MULTIPROCESSING" = "yes"; then
     24          rtems_cv_HAS_MP="yes" ;
     25        else
     26          rtems_cv_HAS_MP="disabled";
     27        fi
    1928      else
    20         rtems_cv_HAS_MP="disabled";
     29        rtems_cv_HAS_MP="no";
    2130      fi
    22     else
    23       rtems_cv_HAS_MP="no";
    2431    fi])
    2532if test "$rtems_cv_HAS_MP" = "yes"; then
Note: See TracChangeset for help on using the changeset viewer.