forked from Imagelibrary/rtems
2003-01-03 Joel Sherrill <joel@OARcorp.com>
* Makefile.am, configure.ac, samples/Makefile.am: Do not configure them unless multiprocessing is enabled.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2003-01-03 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* Makefile.am, configure.ac, samples/Makefile.am: Do not configure
|
||||
them unless multiprocessing is enabled.
|
||||
|
||||
2002-12-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: Remove RTEMS_CHECK_BSP_CACHE.
|
||||
|
||||
@@ -7,7 +7,10 @@ include $(top_srcdir)/../../../automake/compile.am
|
||||
include $(top_srcdir)/../../../automake/lib.am
|
||||
|
||||
SUBDIRS = support samples sptests tmtests
|
||||
# SUBDIRS += mptests
|
||||
|
||||
if HAS_MP
|
||||
SUBDIRS += mptests
|
||||
endif
|
||||
|
||||
EXTRA_DIST = ada.am
|
||||
|
||||
|
||||
@@ -23,11 +23,14 @@ RTEMS_ENABLE_MULTIPROCESSING
|
||||
RTEMS_ENV_RTEMSBSP
|
||||
RTEMS_CHECK_CPU
|
||||
RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
|
||||
RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
|
||||
|
||||
AS_IF([test x"$HAVE_GNAT" = x"no"],[
|
||||
AC_MSG_ERROR([No acceptable GNATMAKE found.])
|
||||
])
|
||||
|
||||
AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes")
|
||||
|
||||
RTEMS_CHECK_TOOL([GNATPREP],[gnatprep],[])
|
||||
|
||||
# FIXME: Enable building the examples which are known to be broken
|
||||
@@ -43,13 +46,18 @@ AC_CONFIG_FILES([support/Makefile])
|
||||
|
||||
AC_CONFIG_FILES([
|
||||
samples/Makefile
|
||||
samples/base_sp/Makefile
|
||||
samples/hello/Makefile
|
||||
samples/ticker/Makefile
|
||||
samples/base_sp/Makefile
|
||||
])
|
||||
|
||||
if test "$HAS_MP" = "yes"; then
|
||||
AC_CONFIG_FILES([
|
||||
samples/base_mp/Makefile
|
||||
samples/base_mp/node1/Makefile
|
||||
samples/base_mp/node2/Makefile
|
||||
])
|
||||
fi
|
||||
|
||||
AC_CONFIG_FILES([
|
||||
sptests/Makefile
|
||||
@@ -112,6 +120,7 @@ tmtests/tmck/Makefile
|
||||
tmtests/tmoverhd/Makefile
|
||||
])
|
||||
|
||||
if test "$HAS_MP" = "yes"; then
|
||||
AC_CONFIG_FILES([
|
||||
mptests/Makefile
|
||||
mptests/mp01/Makefile
|
||||
@@ -131,5 +140,6 @@ mptests/mp01/node2/Makefile
|
||||
#mptests/mp12/Makefile
|
||||
#mptests/mp13/Makefile
|
||||
#mptests/mp14/Makefile
|
||||
fi
|
||||
|
||||
AC_OUTPUT
|
||||
|
||||
@@ -1,6 +1,11 @@
|
||||
## $Id$
|
||||
|
||||
SUBDIRS = hello ticker base_sp base_mp
|
||||
SUBDIRS = hello ticker base_sp
|
||||
|
||||
if HAS_MP
|
||||
SUBDIRS += base_mp
|
||||
endif
|
||||
|
||||
|
||||
include $(top_srcdir)/../../../automake/subdirs.am
|
||||
include $(top_srcdir)/../../../automake/local.am
|
||||
|
||||
Reference in New Issue
Block a user