how to use patch?
wang__kai__ at hotmail.com
Tue Oct 12 09:56:56 CEST 2004
The kernel I'm using is 18.104.22.168, so I should patch the corresponding patch to rtai. The question is, where to patch, the folder of linux-22.214.171.124 or rtai-3.1? I mean in which folder should the hal7-126.96.36.199.patch be applied?
I tried to patch it in the folder rtai-3.1 by this command:
patch -p1 < rtai-core/arch/i386/patches/hal7-188.8.131.52.patch
It showed me that:
|diff -uNrp linux-184.108.40.206/Makefile linux-220.127.116.11-adeos/Makefile
|--- linux-18.104.22.168/Makefile 2004-08-14 12:55:35.000000000 +0200
|+++ linux-22.214.171.124-adeos/Makefile 2004-08-15 12:42:35.000000000 +0200
And tell me it can't find the file.
So, what's wrong? Or should I apply the patch in the folder Linux-126.96.36.199 instead of rtai-3.1?
By the way, is there any one can tell me what the "source tree" mentioned in file README.INSALL is, the linux-source-folder or the rtai-source-folder? And what the "$source_tree" and "$linux-src-dir" are as well.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rtai