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 the kernel + the userspace stuff again in
 > one step?. But you still have to configure both parts separately.
 > The question for me is now if this simplifies the situation expecially
 > for beginners. So far, the separation was clearly visible, now it /may/
 > become blurred (but I'm not a beginner...).
 > Can you provide a rough comparision of the workflows? Sorry, but I'm too
 > lazy, I mean busy to give it a try.

configure --enable-linux-build
make xconfig
make install

If you already have a .config file, the "make xconfig" step becomes

Note that the --enable-linux-build flag is optional too.

The simplification is mainly for developping xenomai itself, not for its
users. Because with the current scheme, after some modifications, you
have to recompile and reinstall both the kernel-space modules and
user-space libraries.

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
                            something better)
make install

And a new kernel will be built and installed, using the new adeos patch
and the same .config.


                                            Gilles Chanteperdrix.

Reply via email to