diff options
author | WeiY <wei.a.yang@gmail.com> | 2013-07-15 23:31:13 +0800 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-07-17 13:07:33 +0200 |
commit | 2e7f57986576cf19b20f0fa8a9e8edd810215c73 (patch) | |
tree | a9090f44c914871b4c9a6958ec7df51e4adad46d /testsuites/smptests/smpatomic01 | |
parent | smpatomic test case update (diff) | |
download | rtems-2e7f57986576cf19b20f0fa8a9e8edd810215c73.tar.bz2 |
stdatomic.h support check when configure
Diffstat (limited to 'testsuites/smptests/smpatomic01')
-rw-r--r-- | testsuites/smptests/smpatomic01/Makefile.am | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/smptests/smpatomic01/Makefile.am b/testsuites/smptests/smpatomic01/Makefile.am index c7af886f73..cc2e1fce8f 100644 --- a/testsuites/smptests/smpatomic01/Makefile.am +++ b/testsuites/smptests/smpatomic01/Makefile.am @@ -1,15 +1,16 @@ - +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) @@ -18,5 +19,6 @@ LINK_LIBS = $(smpatomic01_LDLIBS) smpatomic01$(EXEEXT): $(smpatomic01_OBJECTS) $(smpatomic01_DEPENDENCIES) @rm -f smpatomic01$(EXEEXT) $(make-exe) +endif include $(top_srcdir)/../automake/local.am |