change log for examples-v2 (2011-06-28)

rtems-vc at rtems.org rtems-vc at rtems.org
Tue Jun 28 15:10:07 UTC 2011


 *joel*:
2011-06-28	Joel Sherrill <joel.sherrill at oarcorp.com>

	* schedsim_priority/.cvsignore, schedsim_priority/Makefile: Update a
	bit.

M    1.3  schedsim/ChangeLog
M    1.2  schedsim/schedsim_priority/.cvsignore
M    1.3  schedsim/schedsim_priority/Makefile

diff -u examples-v2/schedsim/ChangeLog:1.2 examples-v2/schedsim/ChangeLog:1.3
--- examples-v2/schedsim/ChangeLog:1.2	Fri Apr  8 13:48:47 2011
+++ examples-v2/schedsim/ChangeLog	Tue Jun 28 09:46:00 2011
@@ -1,3 +1,8 @@
+2011-06-28	Joel Sherrill <joel.sherrill at oarcorp.com>
+
+	* schedsim_priority/.cvsignore, schedsim_priority/Makefile: Update a
+	bit.
+
 2011-04-08	Joel Sherrill <joel.sherrill at oarcorp.com>
 
 	* schedsim_priority/Makefile, schedsim_priority/config.c: update and

diff -u examples-v2/schedsim/schedsim_priority/.cvsignore:1.1 examples-v2/schedsim/schedsim_priority/.cvsignore:1.2
--- examples-v2/schedsim/schedsim_priority/.cvsignore:1.1	Fri Apr  8 13:48:48 2011
+++ examples-v2/schedsim/schedsim_priority/.cvsignore	Tue Jun 28 09:46:00 2011
@@ -1 +1,2 @@
-schedsim
+schedsim_priority
+stamp-test_prefix

diff -u examples-v2/schedsim/schedsim_priority/Makefile:1.2 examples-v2/schedsim/schedsim_priority/Makefile:1.3
--- examples-v2/schedsim/schedsim_priority/Makefile:1.2	Fri Apr  8 13:48:48 2011
+++ examples-v2/schedsim/schedsim_priority/Makefile	Tue Jun 28 09:46:00 2011
@@ -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



--

Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20110628/9f5841a1/attachment.html>


More information about the vc mailing list