[Date Prev][Date Next] [Chronological] [Thread] [Top]

[rtl] patch to rtlinux-0.9H - really !




I made the following chages to rtlinux-0.9H, that is putting the version
information right and using $(CC) instead of a hardcoded gcc into the
Makefiles that needed it ( I use "gcc2" for kernels, e.g. ). 

Would be nice to see this changes in the next release.

Seemed I forgot the patch, so here it is:

diff -ur rtlinux-2.0.35-0.9H/kernel_patch rtlinux-2.0.35-0.9H-new/kernel_patch
--- rtlinux-2.0.35-0.9H/kernel_patch	Tue Nov  3 11:58:44 1998
+++ rtlinux-2.0.35-0.9H-new/kernel_patch	Sat Oct  3 23:56:05 1998
@@ -1589,7 +1589,7 @@
 +++ linux.rtl/include/linux/rtl_version.h	Fri Sep 25 12:25:04 1998
 @@ -0,0 +1,2 @@
 +extern int get_rtl_status(char *);
-+#define rtl_version_string "RTLinux Release 9H for Linux 2.0.35 Oct3 1998\n"
++#define rtl_version_string "RTLinux Release 9G for Linux 2.0.35 Oct3 1998\n"
 diff -r -N -u -X exclude linux/include/linux/tqueue.h linux.rtl/include/linux/tqueue.h
 --- linux/include/linux/tqueue.h	Fri Mar 28 17:08:16 1997
 +++ linux.rtl/include/linux/tqueue.h	Tue Aug 18 08:57:26 1998
Only in rtlinux-2.0.35-0.9H: linux
diff -ur rtlinux-2.0.35-0.9H/rtl/Makefile rtlinux-2.0.35-0.9H-new/rtl/Makefile
--- rtlinux-2.0.35-0.9H/rtl/Makefile	Tue Nov  3 11:21:51 1998
+++ rtlinux-2.0.35-0.9H-new/rtl/Makefile	Wed Oct 21 16:52:46 1998
@@ -97,7 +97,7 @@
 	done;\
 
 all: fifos schedulers  modules examples
-	mv fifos/rtl_fifo schedulers/rtl_sched schedulers/rtl_fpsched modules;\
+	mv fifo/rtl_fifo schedulers/rtl_sched schedulers/rtl_fpsched modules;\
 	echo 'Make sure you have all modules in the subdirectory "modules"';\
 	echo "and you should be done";
 	
diff -ur rtlinux-2.0.35-0.9H/rtl/examples/fp/rtlpath.make rtlinux-2.0.35-0.9H-new/rtl/examples/fp/rtlpath.make
--- rtlinux-2.0.35-0.9H/rtl/examples/fp/rtlpath.make	Tue Nov  3 11:50:18 1998
+++ rtlinux-2.0.35-0.9H-new/rtl/examples/fp/rtlpath.make	Wed Oct 21 16:45:32 1998
@@ -1,5 +1,5 @@
 #	Automatically generated by rtl Makefile
-RTL_DIR = /usr/src/rtlinux-2.0.35-0.9H/rtl
-RTLINUX_DIR = /usr/src/rtlinux-2.0.35-0.9H/linux
-INCLUDE= -I/usr/src/rtlinux-2.0.35-0.9H/linux/include -I//usr/src/rtlinux-2.0.35-0.9H/rtl/include
+RTL_DIR = /root/R9/rtl
+RTLINUX_DIR = /root/R9/linux
+INCLUDE= -I/root/R9/linux/include -I//root/R9/rtl/include
 CFLAGS = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -D__RT__ -D__KERNEL__ -DMODULE -c  
diff -ur rtlinux-2.0.35-0.9H/rtl/examples/frank/rtlpath.make rtlinux-2.0.35-0.9H-new/rtl/examples/frank/rtlpath.make
--- rtlinux-2.0.35-0.9H/rtl/examples/frank/rtlpath.make	Tue Nov  3 11:50:18 1998
+++ rtlinux-2.0.35-0.9H-new/rtl/examples/frank/rtlpath.make	Wed Oct 21 16:45:32 1998
@@ -1,5 +1,5 @@
 #	Automatically generated by rtl Makefile
-RTL_DIR = /usr/src/rtlinux-2.0.35-0.9H/rtl
-RTLINUX_DIR = /usr/src/rtlinux-2.0.35-0.9H/linux
-INCLUDE= -I/usr/src/rtlinux-2.0.35-0.9H/linux/include -I//usr/src/rtlinux-2.0.35-0.9H/rtl/include
+RTL_DIR = /root/R9/rtl
+RTLINUX_DIR = /root/R9/linux
+INCLUDE= -I/root/R9/linux/include -I//root/R9/rtl/include
 CFLAGS = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -D__RT__ -D__KERNEL__ -DMODULE -c  
diff -ur rtlinux-2.0.35-0.9H/rtl/examples/measurements/rtlpath.make rtlinux-2.0.35-0.9H-new/rtl/examples/measurements/rtlpath.make
--- rtlinux-2.0.35-0.9H/rtl/examples/measurements/rtlpath.make	Tue Nov  3 11:50:18 1998
+++ rtlinux-2.0.35-0.9H-new/rtl/examples/measurements/rtlpath.make	Wed Oct 21 16:45:32 1998
@@ -1,5 +1,5 @@
 #	Automatically generated by rtl Makefile
-RTL_DIR = /usr/src/rtlinux-2.0.35-0.9H/rtl
-RTLINUX_DIR = /usr/src/rtlinux-2.0.35-0.9H/linux
-INCLUDE= -I/usr/src/rtlinux-2.0.35-0.9H/linux/include -I//usr/src/rtlinux-2.0.35-0.9H/rtl/include
+RTL_DIR = /root/R9/rtl
+RTLINUX_DIR = /root/R9/linux
+INCLUDE= -I/root/R9/linux/include -I//root/R9/rtl/include
 CFLAGS = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -D__RT__ -D__KERNEL__ -DMODULE -c  
diff -ur rtlinux-2.0.35-0.9H/rtl/examples/parallel/rtlpath.make rtlinux-2.0.35-0.9H-new/rtl/examples/parallel/rtlpath.make
--- rtlinux-2.0.35-0.9H/rtl/examples/parallel/rtlpath.make	Tue Nov  3 11:50:18 1998
+++ rtlinux-2.0.35-0.9H-new/rtl/examples/parallel/rtlpath.make	Wed Oct 21 16:45:32 1998
@@ -1,5 +1,5 @@
 #	Automatically generated by rtl Makefile
-RTL_DIR = /usr/src/rtlinux-2.0.35-0.9H/rtl
-RTLINUX_DIR = /usr/src/rtlinux-2.0.35-0.9H/linux
-INCLUDE= -I/usr/src/rtlinux-2.0.35-0.9H/linux/include -I//usr/src/rtlinux-2.0.35-0.9H/rtl/include
+RTL_DIR = /root/R9/rtl
+RTLINUX_DIR = /root/R9/linux
+INCLUDE= -I/root/R9/linux/include -I//root/R9/rtl/include
 CFLAGS = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -D__RT__ -D__KERNEL__ -DMODULE -c  
diff -ur rtlinux-2.0.35-0.9H/rtl/examples/sound/rtlpath.make rtlinux-2.0.35-0.9H-new/rtl/examples/sound/rtlpath.make
--- rtlinux-2.0.35-0.9H/rtl/examples/sound/rtlpath.make	Tue Nov  3 11:50:18 1998
+++ rtlinux-2.0.35-0.9H-new/rtl/examples/sound/rtlpath.make	Wed Oct 21 16:45:32 1998
@@ -1,5 +1,5 @@
 #	Automatically generated by rtl Makefile
-RTL_DIR = /usr/src/rtlinux-2.0.35-0.9H/rtl
-RTLINUX_DIR = /usr/src/rtlinux-2.0.35-0.9H/linux
-INCLUDE= -I/usr/src/rtlinux-2.0.35-0.9H/linux/include -I//usr/src/rtlinux-2.0.35-0.9H/rtl/include
+RTL_DIR = /root/R9/rtl
+RTLINUX_DIR = /root/R9/linux
+INCLUDE= -I/root/R9/linux/include -I//root/R9/rtl/include
 CFLAGS = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -D__RT__ -D__KERNEL__ -DMODULE -c  
diff -ur rtlinux-2.0.35-0.9H/rtl/fifos/Makefile rtlinux-2.0.35-0.9H-new/rtl/fifos/Makefile
--- rtlinux-2.0.35-0.9H/rtl/fifos/Makefile	Tue Nov  3 11:47:59 1998
+++ rtlinux-2.0.35-0.9H-new/rtl/fifos/Makefile	Mon Aug 17 19:09:25 1998
@@ -2,7 +2,7 @@
 include rtlpath.make
 
 rtl_fifo: rtl_fifo.c ../include/rtl_fifo.h
-	$(CC) ${INCLUDE}  ${CFLAGS} -o rtl_fifo rtl_fifo.c
+	gcc ${INCLUDE}  ${CFLAGS} -o rtl_fifo rtl_fifo.c
 
 install: rtl_fifo
 	cp rtl_fifo ${RTL_DIR}/modules
Only in rtlinux-2.0.35-0.9H-new/rtl/fifos: rtl_fifo
diff -ur rtlinux-2.0.35-0.9H/rtl/fifos/rtlpath.make rtlinux-2.0.35-0.9H-new/rtl/fifos/rtlpath.make
--- rtlinux-2.0.35-0.9H/rtl/fifos/rtlpath.make	Tue Nov  3 11:50:16 1998
+++ rtlinux-2.0.35-0.9H-new/rtl/fifos/rtlpath.make	Wed Oct 21 16:45:31 1998
@@ -1,5 +1,5 @@
 #Automatically generated by rtl Makefile
-RTL_DIR = /usr/src/rtlinux-2.0.35-0.9H/rtl
-RTLINUX_DIR = /usr/src/rtlinux-2.0.35-0.9H/linux
-INCLUDE= -I/usr/src/rtlinux-2.0.35-0.9H/linux/include -I//usr/src/rtlinux-2.0.35-0.9H/rtl/include
+RTL_DIR = /root/R9/rtl
+RTLINUX_DIR = /root/R9/linux
+INCLUDE= -I/root/R9/linux/include -I//root/R9/rtl/include
 CFLAGS = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -D__RT__ -D__KERNEL__ -DMODULE -c  
Only in rtlinux-2.0.35-0.9H/rtl/modules: rtl_fifo
Only in rtlinux-2.0.35-0.9H/rtl/modules: rtl_fpsched
Only in rtlinux-2.0.35-0.9H/rtl/modules: rtl_sched
diff -ur rtlinux-2.0.35-0.9H/rtl/schedulers/Makefile rtlinux-2.0.35-0.9H-new/rtl/schedulers/Makefile
--- rtlinux-2.0.35-0.9H/rtl/schedulers/Makefile	Tue Nov  3 11:48:49 1998
+++ rtlinux-2.0.35-0.9H-new/rtl/schedulers/Makefile	Mon Aug 17 18:57:51 1998
@@ -11,19 +11,19 @@
 # if you think of  a better idea send me email yodaiken@cs.nmt.edu
 
 depend: rtl_sched
-	$(CC) ${INCLUDE} ${CFLAGS} -M rtl_sched.c > .depends
+	gcc ${INCLUDE} ${CFLAGS} -M rtl_sched.c > .depends
       
 rtl_fpsched: rtl_sched.c x86/rtl_x86fpu_codefragment.c x86/fpu.h
 	@echo "/*Automatically generated by make*/" >  rtl_fpu_sched.c 
 	@cat rtl_sched.c x86/rtl_x86fpu_codefragment.c >> rtl_fpu_sched.c 
-	$(CC) ${INCLUDE} ${CFLAGS} -DRTL_FPU -include x86/fpu.h -o rtl_fpsched rtl_fpu_sched.c
+	gcc ${INCLUDE} ${CFLAGS} -DRTL_FPU -include x86/fpu.h -o rtl_fpsched rtl_fpu_sched.c
 
 
 rtl_sched: rtl_sched.c
-	$(CC) ${INCLUDE}  ${CFLAGS} -o rtl_sched rtl_sched.c
+	gcc ${INCLUDE}  ${CFLAGS} -o rtl_sched rtl_sched.c
 	
 timer: nt.c
-	$(CC) ${INCLUDE}  ${CFLAGS} -o nt nt.c
+	gcc ${INCLUDE}  ${CFLAGS} -o nt nt.c
 install: rtl_sched
 	cp rtl_sched ${RTL_DIR}/modules
 	cp rtl_fpsched ${RTL_DIR}/modules
diff -ur rtlinux-2.0.35-0.9H/rtl/schedulers/rtlpath.make rtlinux-2.0.35-0.9H-new/rtl/schedulers/rtlpath.make
--- rtlinux-2.0.35-0.9H/rtl/schedulers/rtlpath.make	Tue Nov  3 11:50:14 1998
+++ rtlinux-2.0.35-0.9H-new/rtl/schedulers/rtlpath.make	Wed Oct 21 16:45:29 1998
@@ -1,5 +1,5 @@
 #Automatically generated by rtl Makefile
-RTL_DIR = /usr/src/rtlinux-2.0.35-0.9H/rtl
-RTLINUX_DIR = /usr/src/rtlinux-2.0.35-0.9H/linux
-INCLUDE= -I/usr/src/rtlinux-2.0.35-0.9H/linux/include -I//usr/src/rtlinux-2.0.35-0.9H/rtl/include
+RTL_DIR = /root/R9/rtl
+RTLINUX_DIR = /root/R9/linux
+INCLUDE= -I/root/R9/linux/include -I//root/R9/rtl/include
 CFLAGS = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -D__RT__ -D__KERNEL__ -DMODULE -c  
diff -ur rtlinux-2.0.35-0.9H/rtl/semaphores/Makefile rtlinux-2.0.35-0.9H-new/rtl/semaphores/Makefile
--- rtlinux-2.0.35-0.9H/rtl/semaphores/Makefile	Tue Nov  3 11:49:18 1998
+++ rtlinux-2.0.35-0.9H-new/rtl/semaphores/Makefile	Sat Oct  3 23:50:36 1998
@@ -10,7 +10,7 @@
 CFLAGS = -O2 -Wall
 
 $(TARGET):	$(SRC) $(HDR)
-	$(CC) ${INCLUDE} ${CFLAGS} -D__KERNEL__ -D__RT__  -c $(SRC)
+	gcc ${INCLUDE} ${CFLAGS} -D__KERNEL__ -D__RT__  -c $(SRC)
 
 ins:		$(TARGET)
 	insmod $(TARGET)
Only in rtlinux-2.0.35-0.9H/rtl/semaphores: rt_ipc.o
diff -ur rtlinux-2.0.35-0.9H/rtl/semaphores/rtlpath.make rtlinux-2.0.35-0.9H-new/rtl/semaphores/rtlpath.make
--- rtlinux-2.0.35-0.9H/rtl/semaphores/rtlpath.make	Tue Nov  3 11:50:17 1998
+++ rtlinux-2.0.35-0.9H-new/rtl/semaphores/rtlpath.make	Wed Oct 21 16:45:31 1998
@@ -1,5 +1,5 @@
 #Automatically generated by rtl Makefile
-RTL_DIR = /usr/src/rtlinux-2.0.35-0.9H/rtl
-RTLINUX_DIR = /usr/src/rtlinux-2.0.35-0.9H/linux
-INCLUDE= -I/usr/src/rtlinux-2.0.35-0.9H/linux/include -I//usr/src/rtlinux-2.0.35-0.9H/rtl/include
+RTL_DIR = /root/R9/rtl
+RTLINUX_DIR = /root/R9/linux
+INCLUDE= -I/root/R9/linux/include -I//root/R9/rtl/include
 CFLAGS = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
-fno-strength-reduce -D__RT__ -D__KERNEL__ -DMODULE -c  


Jochen
-----------------------------------------------------------------------
  Jochen Kuepper

  Heinrich-Heine-Universitaet Duesseldorf   jochen@uni-duesseldorf.de
  Institut fuer Physikalische Chemie I
  Universitaetsstrasse 26.43.02.29          phone ++49-211-8113681
  40225 Duesseldorf                         fax   ++49-211-8115195
  Germany
-----------------------------------------------------------------------


--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail majordomo@rtlinux.cs.nmt.edu OR
echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.cs.nmt.edu
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/

--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail majordomo@rtlinux.cs.nmt.edu OR
echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.cs.nmt.edu
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/