summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-08-27 14:26:33 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-08-28 14:58:50 +0200
commit2bbcb644f9785a5aa66aa5252905b903f857fdec (patch)
tree80d2108eb6886e64a0ae39572b1afa500e18fe2d
parentadd atomic init function (diff)
downloadrtems-2bbcb644f9785a5aa66aa5252905b903f857fdec.tar.bz2
smptests: Move ATOMIC conditional to top-level
-rw-r--r--testsuites/smptests/Makefile.am2
-rw-r--r--testsuites/smptests/smpatomic01/Makefile.am4
-rw-r--r--testsuites/smptests/smpatomic02/Makefile.am4
-rw-r--r--testsuites/smptests/smpatomic03/Makefile.am4
-rw-r--r--testsuites/smptests/smpatomic04/Makefile.am4
-rw-r--r--testsuites/smptests/smpatomic05/Makefile.am4
-rw-r--r--testsuites/smptests/smpatomic06/Makefile.am4
-rw-r--r--testsuites/smptests/smpatomic07/Makefile.am4
8 files changed, 2 insertions, 28 deletions
diff --git a/testsuites/smptests/Makefile.am b/testsuites/smptests/Makefile.am
index 9b10d42050..add13bc4a4 100644
--- a/testsuites/smptests/Makefile.am
+++ b/testsuites/smptests/Makefile.am
@@ -11,6 +11,7 @@ SUBDIRS += smp06
SUBDIRS += smp07
SUBDIRS += smp08
SUBDIRS += smp09
+if ATOMIC
SUBDIRS += smpatomic01
SUBDIRS += smpatomic02
SUBDIRS += smpatomic03
@@ -18,6 +19,7 @@ SUBDIRS += smpatomic04
SUBDIRS += smpatomic05
SUBDIRS += smpatomic06
SUBDIRS += smpatomic07
+endif
SUBDIRS += smplock01
SUBDIRS += smpmigration01
SUBDIRS += smpschedule01
diff --git a/testsuites/smptests/smpatomic01/Makefile.am b/testsuites/smptests/smpatomic01/Makefile.am
index cc2e1fce8f..7bd5502a8d 100644
--- a/testsuites/smptests/smpatomic01/Makefile.am
+++ b/testsuites/smptests/smpatomic01/Makefile.am
@@ -1,16 +1,13 @@
-if ATOMIC
rtems_tests_PROGRAMS = smpatomic01
smpatomic01_SOURCES = init.c tasks.c system.h ../../support/src/locked_print.c
dist_rtems_tests_DATA = smpatomic01.scn
dist_rtems_tests_DATA += smpatomic01.doc
-endif
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../automake/compile.am
include $(top_srcdir)/../automake/leaf.am
-if ATOMIC
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
LINK_OBJS = $(smpatomic01_OBJECTS)
@@ -19,6 +16,5 @@ LINK_LIBS = $(smpatomic01_LDLIBS)
smpatomic01$(EXEEXT): $(smpatomic01_OBJECTS) $(smpatomic01_DEPENDENCIES)
@rm -f smpatomic01$(EXEEXT)
$(make-exe)
-endif
include $(top_srcdir)/../automake/local.am
diff --git a/testsuites/smptests/smpatomic02/Makefile.am b/testsuites/smptests/smpatomic02/Makefile.am
index d4b4d6aa32..04fc5e4c00 100644
--- a/testsuites/smptests/smpatomic02/Makefile.am
+++ b/testsuites/smptests/smpatomic02/Makefile.am
@@ -1,16 +1,13 @@
-if ATOMIC
rtems_tests_PROGRAMS = smpatomic02
smpatomic02_SOURCES = init.c tasks.c system.h ../../support/src/locked_print.c
dist_rtems_tests_DATA = smpatomic02.scn
dist_rtems_tests_DATA += smpatomic02.doc
-endif
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../automake/compile.am
include $(top_srcdir)/../automake/leaf.am
-if ATOMIC
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
LINK_OBJS = $(smpatomic02_OBJECTS)
@@ -19,6 +16,5 @@ LINK_LIBS = $(smpatomic02_LDLIBS)
smpatomic02$(EXEEXT): $(smpatomic02_OBJECTS) $(smpatomic02_DEPENDENCIES)
@rm -f smpatomic01$(EXEEXT)
$(make-exe)
-endif
include $(top_srcdir)/../automake/local.am
diff --git a/testsuites/smptests/smpatomic03/Makefile.am b/testsuites/smptests/smpatomic03/Makefile.am
index 61c184d7c7..cebd323254 100644
--- a/testsuites/smptests/smpatomic03/Makefile.am
+++ b/testsuites/smptests/smpatomic03/Makefile.am
@@ -1,16 +1,13 @@
-if ATOMIC
rtems_tests_PROGRAMS = smpatomic03
smpatomic03_SOURCES = init.c tasks.c system.h ../../support/src/locked_print.c
dist_rtems_tests_DATA = smpatomic03.scn
dist_rtems_tests_DATA += smpatomic03.doc
-endif
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../automake/compile.am
include $(top_srcdir)/../automake/leaf.am
-if ATOMIC
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
LINK_OBJS = $(smpatomic03_OBJECTS)
@@ -19,6 +16,5 @@ LINK_LIBS = $(smpatomic03_LDLIBS)
smpatomic03$(EXEEXT): $(smpatomic03_OBJECTS) $(smpatomic03_DEPENDENCIES)
@rm -f smpatomic03$(EXEEXT)
$(make-exe)
-endif
include $(top_srcdir)/../automake/local.am
diff --git a/testsuites/smptests/smpatomic04/Makefile.am b/testsuites/smptests/smpatomic04/Makefile.am
index c354a34c45..6b71e1062a 100644
--- a/testsuites/smptests/smpatomic04/Makefile.am
+++ b/testsuites/smptests/smpatomic04/Makefile.am
@@ -1,16 +1,13 @@
-if ATOMIC
rtems_tests_PROGRAMS = smpatomic04
smpatomic04_SOURCES = init.c tasks.c system.h ../../support/src/locked_print.c
dist_rtems_tests_DATA = smpatomic04.scn
dist_rtems_tests_DATA += smpatomic04.doc
-endif
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../automake/compile.am
include $(top_srcdir)/../automake/leaf.am
-if ATOMIC
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
LINK_OBJS = $(smpatomic04_OBJECTS)
@@ -19,6 +16,5 @@ LINK_LIBS = $(smpatomic04_LDLIBS)
smpatomic04$(EXEEXT): $(smpatomic04_OBJECTS) $(smpatomic04_DEPENDENCIES)
@rm -f smpatomic04$(EXEEXT)
$(make-exe)
-endif
include $(top_srcdir)/../automake/local.am
diff --git a/testsuites/smptests/smpatomic05/Makefile.am b/testsuites/smptests/smpatomic05/Makefile.am
index f9df60d4b2..0d4489d0d8 100644
--- a/testsuites/smptests/smpatomic05/Makefile.am
+++ b/testsuites/smptests/smpatomic05/Makefile.am
@@ -1,16 +1,13 @@
-if ATOMIC
rtems_tests_PROGRAMS = smpatomic05
smpatomic05_SOURCES = init.c tasks.c system.h ../../support/src/locked_print.c
dist_rtems_tests_DATA = smpatomic05.scn
dist_rtems_tests_DATA += smpatomic05.doc
-endif
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../automake/compile.am
include $(top_srcdir)/../automake/leaf.am
-if ATOMIC
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
LINK_OBJS = $(smpatomic05_OBJECTS)
@@ -19,6 +16,5 @@ LINK_LIBS = $(smpatomic05_LDLIBS)
smpatomic05$(EXEEXT): $(smpatomic05_OBJECTS) $(smpatomic05_DEPENDENCIES)
@rm -f smpatomic05$(EXEEXT)
$(make-exe)
-endif
include $(top_srcdir)/../automake/local.am
diff --git a/testsuites/smptests/smpatomic06/Makefile.am b/testsuites/smptests/smpatomic06/Makefile.am
index 80f9d156c5..c3a06458d4 100644
--- a/testsuites/smptests/smpatomic06/Makefile.am
+++ b/testsuites/smptests/smpatomic06/Makefile.am
@@ -1,16 +1,13 @@
-if ATOMIC
rtems_tests_PROGRAMS = smpatomic06
smpatomic06_SOURCES = init.c tasks.c system.h ../../support/src/locked_print.c
dist_rtems_tests_DATA = smpatomic06.scn
dist_rtems_tests_DATA += smpatomic06.doc
-endif
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../automake/compile.am
include $(top_srcdir)/../automake/leaf.am
-if ATOMIC
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
LINK_OBJS = $(smpatomic06_OBJECTS)
@@ -19,6 +16,5 @@ LINK_LIBS = $(smpatomic06_LDLIBS)
smpatomic06$(EXEEXT): $(smpatomic06_OBJECTS) $(smpatomic06_DEPENDENCIES)
@rm -f smpatomic06$(EXEEXT)
$(make-exe)
-endif
include $(top_srcdir)/../automake/local.am
diff --git a/testsuites/smptests/smpatomic07/Makefile.am b/testsuites/smptests/smpatomic07/Makefile.am
index 4c74ee45a8..5e623ea343 100644
--- a/testsuites/smptests/smpatomic07/Makefile.am
+++ b/testsuites/smptests/smpatomic07/Makefile.am
@@ -1,16 +1,13 @@
-if ATOMIC
rtems_tests_PROGRAMS = smpatomic07
smpatomic07_SOURCES = init.c tasks.c system.h ../../support/src/locked_print.c
dist_rtems_tests_DATA = smpatomic07.scn
dist_rtems_tests_DATA += smpatomic07.doc
-endif
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../automake/compile.am
include $(top_srcdir)/../automake/leaf.am
-if ATOMIC
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
LINK_OBJS = $(smpatomic07_OBJECTS)
@@ -19,6 +16,5 @@ LINK_LIBS = $(smpatomic07_LDLIBS)
smpatomic07$(EXEEXT): $(smpatomic07_OBJECTS) $(smpatomic07_DEPENDENCIES)
@rm -f smpatomic07$(EXEEXT)
$(make-exe)
-endif
include $(top_srcdir)/../automake/local.am