[rtems-schedsim commit] schedsim/shell/schedsim_smpsimple/Makefile.am: Add POSIX includes
Joel Sherrill
joel at rtems.org
Wed May 1 16:05:22 UTC 2013
Module: rtems-schedsim
Branch: master
Commit: 6bc345173c127a2938ab9a91813f5e710bb184c5
Changeset: http://git.rtems.org/rtems-schedsim/commit/?id=6bc345173c127a2938ab9a91813f5e710bb184c5
Author: Joel Sherrill <joel.sherrill at oarcorp.com>
Date: Wed May 1 11:08:02 2013 -0500
schedsim/shell/schedsim_smpsimple/Makefile.am: Add POSIX includes
---
schedsim/shell/schedsim_smpsimple/Makefile.am | 4 ++++
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
More information about the vc
mailing list