source: rtems-schedsim/schedsim/shell/schedsim_smppriority/Makefile.am @ 1182d11

Last change on this file since 1182d11 was cc1a54a, checked in by Joel Sherrill <joel.sherrill@…>, on May 22, 2014 at 3:19:55 PM

Enhance cpus command to do validation of executing threads.

This patch enhances the cpus command such that it can take a list
of expected threads to be executing and validate that they are
executing on the expected cores.

The cpus command was moved to the shared directory.

The documentation was updated.

  • Property mode set to 100644
File size: 2.3 KB
Line 
1bin_PROGRAMS = schedsim_smppriority
2
3SOURCES  = config.c
4SOURCES += $(srcdir)/../schedsim_smpsimple/add_commands.c
5SOURCES += $(srcdir)/../schedsim_smpsimple/main_current_cpu.c
6SOURCES += $(srcdir)/../schedsim_smpsimple/main_dispatch.c
7SOURCES += $(srcdir)/../schedsim_smpsimple/main_dump_ready_tasks.c
8SOURCES += $(srcdir)/../schedsim_smpsimple/printheir_executing.c
9SOURCES += $(srcdir)/../schedsim_smpsimple/smp_stub.c
10SOURCES += $(srcdir)/../schedsim_smpsimple/wrap_thread_dispatch.c
11SOURCES += $(srcdir)/../schedsim_smpsimple/schedsim.cc
12schedsim_smppriority_SOURCES = $(SOURCES)
13
14cpukitdir=@rtems_srcdir@/cpukit
15schedsim_smppriority_CPPFLAGS  = -I$(top_builddir)/score/include
16schedsim_smppriority_CPPFLAGS += -I$(srcdir)/sched_cpu
17schedsim_smppriority_CPPFLAGS += -I$(srcdir)/../../rtems
18schedsim_smppriority_CPPFLAGS += -I$(cpukitdir)/include
19schedsim_smppriority_CPPFLAGS += -I$(cpukitdir)/score/include
20schedsim_smppriority_CPPFLAGS += -I$(cpukitdir)/score/inline
21schedsim_smppriority_CPPFLAGS += -I$(cpukitdir)/rtems/include
22schedsim_smppriority_CPPFLAGS += -I$(cpukitdir)/rtems/inline
23schedsim_smppriority_CPPFLAGS += -I$(cpukitdir)/sapi/include
24schedsim_smppriority_CPPFLAGS += -I$(cpukitdir)/sapi/inline
25schedsim_smppriority_CPPFLAGS += -I$(cpukitdir)/libcsupport/include
26schedsim_smppriority_CPPFLAGS += -I$(cpukitdir)/libmisc/stringto
27schedsim_smppriority_CPPFLAGS += -I$(srcdir)/../../rtems/sched_cpu
28schedsim_smppriority_CPPFLAGS += -I$(srcdir)/../shared/include
29schedsim_smppriority_CPPFLAGS += -I$(srcdir)/../shared
30if HAS_PTHREADS
31schedsim_smppriority_CPPFLAGS += -I$(cpukitdir)/posix/include
32schedsim_smppriority_CPPFLAGS += -I$(cpukitdir)/posix/inline
33endif
34## Ensure all linker provided symbols are available
35schedsim_smppriority_LDFLAGS =
36schedsim_smppriority_LDFLAGS += -Wl,--defsym=_TLS_Data_begin=0
37schedsim_smppriority_LDFLAGS += -Wl,--defsym=_TLS_BSS_end=0
38schedsim_smppriority_LDFLAGS += -Wl,--defsym=_TLS_Alignment=4
39
40## Wrap _Thread_Dispatch so we can see context switches
41schedsim_smppriority_LDFLAGS +=-Wl,--wrap=_Thread_Dispatch
42
43## schedsim_smppriority_LDADD +=-Wl,--start-group
44schedsim_smppriority_LDADD = ../shared/libschedsim.a
45schedsim_smppriority_LDADD += ../../rtems/librtems.a
46schedsim_smppriority_LDADD += ../shared/libschedsim.a
47## schedsim_smppriority_LDADD +=-Wl,--end-group
48
49include $(top_srcdir)/../automake/host.am
Note: See TracBrowser for help on using the repository browser.