Re: [Xenomai-core] [rfc] Building Linux kernel in Xenomai tree.

2006-01-08 Thread Philippe Gerum
Gilles Chanteperdrix wrote: Philippe Gerum wrote: > Gilles Chanteperdrix wrote: > > Philippe Gerum wrote: > > > Gilles Chanteperdrix wrote: > > > > The current approach is to use the sources of the running kernel if the > > > > only option specified is --enable-linux-build. Do you mean y

Re: [Xenomai-core] [rfc] Building Linux kernel in Xenomai tree.

2006-01-08 Thread Gilles Chanteperdrix
Philippe Gerum wrote: > Gilles Chanteperdrix wrote: > > Philippe Gerum wrote: > > > Gilles Chanteperdrix wrote: > > > > The current approach is to use the sources of the running kernel if > > the > > > > only option specified is --enable-linux-build. Do you mean you find > > this > >

Re: [Xenomai-core] [rfc] Building Linux kernel in Xenomai tree.

2006-01-08 Thread Philippe Gerum
Gilles Chanteperdrix wrote: Philippe Gerum wrote: > Gilles Chanteperdrix wrote: > > The current approach is to use the sources of the running kernel if the > > only option specified is --enable-linux-build. Do you mean you find this > > feature superfluous ? > > > > If $enableval is "y",

Re: [Xenomai-core] [rfc] Building Linux kernel in Xenomai tree.

2006-01-08 Thread Gilles Chanteperdrix
Philippe Gerum wrote: > Gilles Chanteperdrix wrote: > > The current approach is to use the sources of the running kernel if the > > only option specified is --enable-linux-build. Do you mean you find this > > feature superfluous ? > > > > If $enableval is "y", then no path has been specifi

Re: [Xenomai-core] [rfc] Building Linux kernel in Xenomai tree.

2006-01-08 Thread Philippe Gerum
Gilles Chanteperdrix wrote: Philippe Gerum wrote: > Gilles Chanteperdrix wrote: > > Hi, > > > > attached is a patch of Xenomai trunk build system to allow building > > Linux kernel as part of Xenomai build process. This way, typing make > > install builds and installs the Linux kernel, ke

Re: [Xenomai-core] [rfc] Building Linux kernel in Xenomai tree.

2006-01-08 Thread Gilles Chanteperdrix
Philippe Gerum wrote: > Gilles Chanteperdrix wrote: > > Hi, > > > > attached is a patch of Xenomai trunk build system to allow building > > Linux kernel as part of Xenomai build process. This way, typing make > > install builds and installs the Linux kernel, kernel modules and > > Xenomai.

Re: [Xenomai-core] [rfc] Building Linux kernel in Xenomai tree.

2006-01-08 Thread Philippe Gerum
Gilles Chanteperdrix wrote: Philippe Gerum wrote: > Gilles Chanteperdrix wrote: > > Philippe Gerum wrote: > > > Gilles Chanteperdrix wrote: > > > > The current approach is to use the sources of the running kernel if the > > > > only option specified is --enable-linux-build. Do you mean y

Re: [Xenomai-core] [rfc] Building Linux kernel in Xenomai tree.

2006-01-08 Thread Philippe Gerum
Gilles Chanteperdrix wrote: Hi, attached is a patch of Xenomai trunk build system to allow building Linux kernel as part of Xenomai build process. This way, typing make install builds and installs the Linux kernel, kernel modules and Xenomai. The patch is a bit young and still has a few drawbac

Re: [Xenomai-core] [rfc] Building Linux kernel in Xenomai tree.

2006-01-08 Thread Gilles Chanteperdrix
Philippe Gerum wrote: > Gilles Chanteperdrix wrote: > > Philippe Gerum wrote: > > > Gilles Chanteperdrix wrote: > > > > The current approach is to use the sources of the running kernel if > > the > > > > only option specified is --enable-linux-build. Do you mean you find > > this > >

Re: [Xenomai-core] [rfc] Building Linux kernel in Xenomai tree.

2006-01-08 Thread Philippe Gerum
Gilles Chanteperdrix wrote: Philippe Gerum wrote: > Gilles Chanteperdrix wrote: > > The current approach is to use the sources of the running kernel if the > > only option specified is --enable-linux-build. Do you mean you find this > > feature superfluous ? > > > > If $enableval is "y",

Re: [Xenomai-core] [rfc] Building Linux kernel in Xenomai tree.

2006-01-08 Thread Gilles Chanteperdrix
Philippe Gerum wrote: > Gilles Chanteperdrix wrote: > > The current approach is to use the sources of the running kernel if the > > only option specified is --enable-linux-build. Do you mean you find this > > feature superfluous ? > > > > If $enableval is "y", then no path has been specifi

Re: [Xenomai-core] [rfc] Building Linux kernel in Xenomai tree.

2006-01-08 Thread Philippe Gerum
Gilles Chanteperdrix wrote: Philippe Gerum wrote: > Gilles Chanteperdrix wrote: > > Hi, > > > > attached is a patch of Xenomai trunk build system to allow building > > Linux kernel as part of Xenomai build process. This way, typing make > > install builds and installs the Linux kernel, ke

Re: [Xenomai-core] [rfc] Building Linux kernel in Xenomai tree.

2006-01-08 Thread Gilles Chanteperdrix
Philippe Gerum wrote: > Gilles Chanteperdrix wrote: > > Hi, > > > > attached is a patch of Xenomai trunk build system to allow building > > Linux kernel as part of Xenomai build process. This way, typing make > > install builds and installs the Linux kernel, kernel modules and > > Xenomai.

Re: [Xenomai-core] [rfc] Building Linux kernel in Xenomai tree.

2006-01-08 Thread Philippe Gerum
Gilles Chanteperdrix wrote: Hi, attached is a patch of Xenomai trunk build system to allow building Linux kernel as part of Xenomai build process. This way, typing make install builds and installs the Linux kernel, kernel modules and Xenomai. The patch is a bit young and still has a few drawbac

Re: [Xenomai-core] [rfc] Building Linux kernel in Xenomai tree.

2006-01-07 Thread Gilles Chanteperdrix
Jan Kiszka wrote: > > If you let configure select the proper adeos patch, you are warned when > > the adeos patch changed in the source directory (after an svn update, > > for example), and just have to type: > > rm linux/.xenomai-prepared (Ok, this step is a bit awkward, we may find > >

Re: [Xenomai-core] [rfc] Building Linux kernel in Xenomai tree.

2006-01-07 Thread Jan Kiszka
Gilles Chanteperdrix wrote: > Jan Kiszka wrote: > > > The previous patch was also incorrect when trying to cross-compile the > > > Linux kernel or building it for ppc. The attached patch fixes these > > > issues. > > > > > > > Regarding your general idea, I'm just trying to imagine the new

Re: [Xenomai-core] [rfc] Building Linux kernel in Xenomai tree.

2006-01-07 Thread Gilles Chanteperdrix
Jan Kiszka wrote: > > The previous patch was also incorrect when trying to cross-compile the > > Linux kernel or building it for ppc. The attached patch fixes these > > issues. > > > > Regarding your general idea, I'm just trying to imagine the new build > process: you prepare and build th

Re: [Xenomai-core] [rfc] Building Linux kernel in Xenomai tree.

2006-01-07 Thread Jan Kiszka
Gilles Chanteperdrix wrote: > Gilles Chanteperdrix wrote: > > Known limitations are: > > (...) > > - for an unknown reason, xenomai modules are built every time > > prepare-kernel.sh is run ; > > The reason for this limitation is that prepare-kernel.sh remove > directories before re-creating

Re: [Xenomai-core] [rfc] Building Linux kernel in Xenomai tree.

2006-01-07 Thread Gilles Chanteperdrix
Gilles Chanteperdrix wrote: > Known limitations are: > (...) > - for an unknown reason, xenomai modules are built every time > prepare-kernel.sh is run ; The reason for this limitation is that prepare-kernel.sh remove directories before re-creating them and before creating symbolic links. T

Re: [Xenomai-core] [rfc] Building Linux kernel in Xenomai tree.

2006-01-07 Thread Gilles Chanteperdrix
Jan Kiszka wrote: > > If you let configure select the proper adeos patch, you are warned when > > the adeos patch changed in the source directory (after an svn update, > > for example), and just have to type: > > rm linux/.xenomai-prepared (Ok, this step is a bit awkward, we may find > >

Re: [Xenomai-core] [rfc] Building Linux kernel in Xenomai tree.

2006-01-07 Thread Jan Kiszka
Gilles Chanteperdrix wrote: > Jan Kiszka wrote: > > > The previous patch was also incorrect when trying to cross-compile the > > > Linux kernel or building it for ppc. The attached patch fixes these > > > issues. > > > > > > > Regarding your general idea, I'm just trying to imagine the new

Re: [Xenomai-core] [rfc] Building Linux kernel in Xenomai tree.

2006-01-07 Thread Gilles Chanteperdrix
Jan Kiszka wrote: > > The previous patch was also incorrect when trying to cross-compile the > > Linux kernel or building it for ppc. The attached patch fixes these > > issues. > > > > Regarding your general idea, I'm just trying to imagine the new build > process: you prepare and build th

Re: [Xenomai-core] [rfc] Building Linux kernel in Xenomai tree.

2006-01-07 Thread Jan Kiszka
Gilles Chanteperdrix wrote: > Gilles Chanteperdrix wrote: > > Known limitations are: > > (...) > > - for an unknown reason, xenomai modules are built every time > > prepare-kernel.sh is run ; > > The reason for this limitation is that prepare-kernel.sh remove > directories before re-creating

Re: [Xenomai-core] [rfc] Building Linux kernel in Xenomai tree.

2006-01-07 Thread Gilles Chanteperdrix
Gilles Chanteperdrix wrote: > Known limitations are: > (...) > - for an unknown reason, xenomai modules are built every time > prepare-kernel.sh is run ; The reason for this limitation is that prepare-kernel.sh remove directories before re-creating them and before creating symbolic links. T