summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spatomic01
diff options
context:
space:
mode:
authorWeiY <wei.a.yang@gmail.com>2013-07-15 23:31:13 +0800
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-07-17 13:07:33 +0200
commit2e7f57986576cf19b20f0fa8a9e8edd810215c73 (patch)
treea9090f44c914871b4c9a6958ec7df51e4adad46d /testsuites/sptests/spatomic01
parentsmpatomic test case update (diff)
downloadrtems-2e7f57986576cf19b20f0fa8a9e8edd810215c73.tar.bz2
stdatomic.h support check when configure
Diffstat (limited to 'testsuites/sptests/spatomic01')
-rw-r--r--testsuites/sptests/spatomic01/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuites/sptests/spatomic01/Makefile.am b/testsuites/sptests/spatomic01/Makefile.am
index 73677ba65b..3bf1e11009 100644
--- a/testsuites/sptests/spatomic01/Makefile.am
+++ b/testsuites/sptests/spatomic01/Makefile.am
@@ -1,13 +1,16 @@
+if ATOMIC
rtems_tests_PROGRAMS = spatomic01
spatomic01_SOURCES = init.c tasks.c system.h
dist_rtems_tests_DATA = spatomic01.scn
dist_rtems_tests_DATA += spatomic01.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 = $(spatomic01_OBJECTS)
@@ -16,5 +19,6 @@ LINK_LIBS = $(spatomic01_LDLIBS)
spatomic01$(EXEEXT): $(spatomic01_OBJECTS) $(spatomic01_DEPENDENCIES)
@rm -f spatomic01$(EXEEXT)
$(make-exe)
+endif
include $(top_srcdir)/../automake/local.am