4.104.114.84.95
Last change
on this file since fe5851ce was
fe5851ce,
checked in by Joel Sherrill <joel.sherrill@…>, on 06/29/00 at 15:29:31
|
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.).
|
-
Property mode set to
100644
|
File size:
951 bytes
|
Line | |
---|
1 | dnl |
---|
2 | dnl $Id$ |
---|
3 | dnl |
---|
4 | |
---|
5 | AC_DEFUN(RTEMS_CHECK_MULTIPROCESSING, |
---|
6 | [dnl |
---|
7 | AC_REQUIRE([RTEMS_ENABLE_MULTILIB])dnl |
---|
8 | AC_REQUIRE([RTEMS_ENV_RTEMSBSP])dnl |
---|
9 | AC_REQUIRE([RTEMS_TOP])dnl |
---|
10 | AC_REQUIRE([RTEMS_CHECK_CPU])dnl |
---|
11 | AC_REQUIRE([RTEMS_ENABLE_MULTIPROCESSING])dnl |
---|
12 | AC_REQUIRE([RTEMS_BSP_ALIAS])dnl |
---|
13 | |
---|
14 | AC_CACHE_CHECK([whether BSP supports multiprocessing], |
---|
15 | rtems_cv_HAS_MP, |
---|
16 | [dnl |
---|
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 |
---|
28 | else |
---|
29 | rtems_cv_HAS_MP="no"; |
---|
30 | fi |
---|
31 | fi]) |
---|
32 | if test "$rtems_cv_HAS_MP" = "yes"; then |
---|
33 | HAS_MP="yes" |
---|
34 | else |
---|
35 | HAS_MP="no" |
---|
36 | fi |
---|
37 | AC_SUBST(HAS_MP) |
---|
38 | ]) |
---|
Note: See
TracBrowser
for help on using the repository browser.