summaryrefslogtreecommitdiffstats
path: root/schedsim/shell/schedsim_smpsimple
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2013-05-01 11:08:02 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2013-05-01 11:09:24 -0500
commit6bc345173c127a2938ab9a91813f5e710bb184c5 (patch)
treebf22422c8cacbe92a5f4394611d9352d30d774a1 /schedsim/shell/schedsim_smpsimple
parentschedsim/shell/schedsim_priority/Makefile.am: Add POSIX includes (diff)
downloadrtems-schedsim-6bc345173c127a2938ab9a91813f5e710bb184c5.tar.bz2
schedsim/shell/schedsim_smpsimple/Makefile.am: Add POSIX includes
Diffstat (limited to 'schedsim/shell/schedsim_smpsimple')
-rw-r--r--schedsim/shell/schedsim_smpsimple/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/schedsim/shell/schedsim_smpsimple/Makefile.am b/schedsim/shell/schedsim_smpsimple/Makefile.am
index 288a659..19cf617 100644
--- a/schedsim/shell/schedsim_smpsimple/Makefile.am
+++ b/schedsim/shell/schedsim_smpsimple/Makefile.am
@@ -20,6 +20,10 @@ schedsim_smpsimple_CPPFLAGS += -I$(cpukitdir)/libmisc/stringto
schedsim_smpsimple_CPPFLAGS += -I$(srcdir)/../../rtems/sched_cpu
schedsim_smpsimple_CPPFLAGS += -I$(srcdir)/../shared/include
schedsim_smpsimple_CPPFLAGS += -I$(srcdir)/../shared
+if HAS_PTHREADS
+schedsim_smpsimple_CPPFLAGS += -I$(cpukitdir)/posix/include
+schedsim_smpsimple_CPPFLAGS += -I$(cpukitdir)/posix/inline
+endif
schedsim_smpsimple_LDFLAGS =-Wl,--wrap=_Thread_Dispatch
## schedsim_smpsimple_LDADD +=-Wl,--start-group