summaryrefslogtreecommitdiffstats
path: root/testsuites/samples
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-07-13 15:05:38 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-07-13 15:05:38 +0000
commitb8a30d07a5a149eab8217c57c2fdf387efdf27f1 (patch)
tree4d9b94ab97c914cced8db89e2f1834d8b786cbe2 /testsuites/samples
parentce39123263801e81a80cc3f72be0e2d1b0d19664 (diff)
downloadrtems-b8a30d07a5a149eab8217c57c2fdf387efdf27f1.tar.bz2
Patch rtems-rc-20000713-1-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that is yet another multilib-related structual cleanup patch: Changes: * Make RTEMS_TEST_NO_PAUSE a tests/ subpackage specific option. - Remove RTEMS_TEST_NO_PAUSE from custom/*.cfg, targopts.h and cpuopts.h. - Add autoconf macros RTEMS_*_RTEMS_TEST_NO_PAUSE (aclocal/rtems-test-no-pause.m4). - Add RTEMS_*_RTEMS_TEST_NO_PAUSE support to sptests/configure.ins and tmtests/configure.in. These are the only subdirectories which currently apply RTEMS_TEST_NO_PAUSE. - Add autoconf-DEFS support to all test subpackages' configure.ins below tests/. I.e. AC_DEFINES now get explicitly propagated as preprocessor defines into Makefiles, cf. AM_CPPFLAGS in tests/*/*.am, instead of using a global config-files. - Remove NDEBUG from custom/*.cfg. * AC_DEFINE POSIX_API, ITRON_API and MULTIPROCESSING in exec/configure.in, only. - All other sources now should relay on the values from cpuopts.h and should not define them themselves. - Several related changes to many configure.ins * Bug-fixes to RTEMS_*_RTEMS_DEBUG macros (Actually workarounds to quoting bugs in autoconf). Notes: * This patch is rather immature and only tested for a small subset of BSPs (requires the tests to be enabled and therefore takes an tremendous amount of disc space and time.) * The patches to *cfg were generated by a script. Expect file formating changes :)
Diffstat (limited to 'testsuites/samples')
-rw-r--r--testsuites/samples/base_mp/node1/Makefile.am4
-rw-r--r--testsuites/samples/base_mp/node2/Makefile.am4
-rw-r--r--testsuites/samples/sample.am2
3 files changed, 6 insertions, 4 deletions
diff --git a/testsuites/samples/base_mp/node1/Makefile.am b/testsuites/samples/base_mp/node1/Makefile.am
index fdf0db6e15..3a5a45e9e2 100644
--- a/testsuites/samples/base_mp/node1/Makefile.am
+++ b/testsuites/samples/base_mp/node1/Makefile.am
@@ -29,14 +29,14 @@ include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(RTEMS_ROOT)/make/leaf.cfg
include $(top_srcdir)/sample.am
+AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I.
+
if HAS_MP
#
# (OPTIONAL) Add local stuff here using +=
#
-AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I.
-
${PGM}: $(OBJS) $(LINK_FILES)
$(make-exe)
diff --git a/testsuites/samples/base_mp/node2/Makefile.am b/testsuites/samples/base_mp/node2/Makefile.am
index acfe772653..0810138fb8 100644
--- a/testsuites/samples/base_mp/node2/Makefile.am
+++ b/testsuites/samples/base_mp/node2/Makefile.am
@@ -29,14 +29,14 @@ include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(RTEMS_ROOT)/make/leaf.cfg
include $(top_srcdir)/sample.am
+AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I.
+
if HAS_MP
#
# (OPTIONAL) Add local stuff here using +=
#
-AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I.
-
${PGM}: $(OBJS) $(LINK_FILES)
$(make-exe)
diff --git a/testsuites/samples/sample.am b/testsuites/samples/sample.am
index a294dcc949..dbd1482b9d 100644
--- a/testsuites/samples/sample.am
+++ b/testsuites/samples/sample.am
@@ -1,3 +1,5 @@
+AM_CPPFLAGS += @DEFS@
+
project_bspdir=$(PROJECT_ROOT)/@RTEMS_BSP@
$(project_bspdir)/samples: