diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-06-28 14:46:00 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-06-28 14:46:00 +0000 |
commit | 91e518991d18d0950eeaa199062ece9fa63ecc87 (patch) | |
tree | 84114f6a257c2fb291cf9f1422b71eba699006b4 /schedsim | |
parent | 2011-06-13 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-examples-91e518991d18d0950eeaa199062ece9fa63ecc87.tar.bz2 |
2011-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* schedsim_priority/.cvsignore, schedsim_priority/Makefile: Update a
bit.
Diffstat (limited to 'schedsim')
-rw-r--r-- | schedsim/ChangeLog | 5 | ||||
-rw-r--r-- | schedsim/schedsim_priority/.cvsignore | 3 | ||||
-rw-r--r-- | schedsim/schedsim_priority/Makefile | 17 |
3 files changed, 19 insertions, 6 deletions
diff --git a/schedsim/ChangeLog b/schedsim/ChangeLog index 3c78651..3ff5c94 100644 --- a/schedsim/ChangeLog +++ b/schedsim/ChangeLog @@ -1,3 +1,8 @@ +2011-06-28 Joel Sherrill <joel.sherrill@oarcorp.com> + + * schedsim_priority/.cvsignore, schedsim_priority/Makefile: Update a + bit. + 2011-04-08 Joel Sherrill <joel.sherrill@oarcorp.com> * schedsim_priority/Makefile, schedsim_priority/config.c: update and diff --git a/schedsim/schedsim_priority/.cvsignore b/schedsim/schedsim_priority/.cvsignore index 981f40a..e95c3ac 100644 --- a/schedsim/schedsim_priority/.cvsignore +++ b/schedsim/schedsim_priority/.cvsignore @@ -1 +1,2 @@ -schedsim +schedsim_priority +stamp-test_prefix diff --git a/schedsim/schedsim_priority/Makefile b/schedsim/schedsim_priority/Makefile index 61ff306..2ae830e 100644 --- a/schedsim/schedsim_priority/Makefile +++ b/schedsim/schedsim_priority/Makefile @@ -2,16 +2,23 @@ # $Id$ # -PREFIX=/home/joel/rtems-4.11-work/bsp-install/ +# Change this path to match your installation +PREFIX=/tmp/schedsim OBJS = config.o printheir_executing.o schedsim.o wrap_thread_dispatch.o CPPFLAGS = -I${PREFIX}/include/schedsim LDFLAGS = -L${PREFIX}/lib LDFLAGS += -Wl,--wrap=_Thread_Dispatch +SCHEDSIM=schedsim_priority -all: schedsim +all: stamp-test_prefix $(SCHEDSIM) -schedsim: $(OBJS) - g++ -o schedsim $(OBJS) $(LDFLAGS) -lschedsim -lrtems +stamp-test_prefix: + test -d ${PREFIX} + test -f ${PREFIX}/include/schedsim/rtems_sched.h + touch stamp-test_prefix + +$(SCHEDSIM): $(OBJS) + g++ -o $(SCHEDSIM) $(OBJS) $(LDFLAGS) -lschedsim -lrtems clean: - rm -f *.o schedsim + rm -f *.o $(SCHEDSIM) stamp-test_prefix |