On the face of things this looks like it is moving modules to the
kernel build standards.  My 2c is that this is a good idea.  To really
make it work you will need buy-in from the RTAI people too.

> I don't even pretend to understand this, but think it probably needs
> to be seen by someone who does. The aim is to suppress some error
> messages that are produced when compiling with "comp"
> 
> 
> ---------- Forwarded message ----------
>
> My proposal for getting out of this sandpit ist following:
> 
> 1.) the emc2 modules do not have a Modules.symvers file. This file
> holds the dependencies of extern defined functions.
> 2.) the rtai modules do have this file.
> 
> So to get it work to check dependencies to avoid the above mentioned
> warnings, we must have a Modules.symvers file too for emc modules.
> 
> This is a little more work to do. And when we want to do it, then we
> should correct the whole things for modules, like not living in
> standard kernel trees.
> 
> Advice from kernel.org is to use
> 
> /lib/modules/kernel-vers/extra/rtai and ../emc
> 
> My proposal is to use
> 
> /lib/modules/kernel-vers/extra/emc
> /lib/modules/kernel-vers/extra/rtai
> 
> The next point is, if we do so:
> 
> The kernel Makefile syntax for external modules was changed, this is
> not dramatically but we can write it shorter in our template.
> 
> New line for rtai modules would be:
> 
> $(MAKE) -C $(KERNELDIR) M=$(RTAIMOD)  O=$(RTAIMOD)
> 
> with
> 
> RTAIMOD := /lib/modules/linux-2.6.32-122-rtai/modules/extra/rtai
> KERNELDIR := /usr/src/linux-headers-2-6-32-rtai
> 
> and for emc modules:
> 
> $(MAKE) -C $(KERNELDIR) M=$(EMCMOD)  O=$(EMCMOD)
> 
> with
> 
> EMCMOD := /lib/modules/linux-2.6.32-122-rtai/modules/extra/emc
> KERNELDIR := /usr/src/linux-headers-2-6-32-rtai
> 
> If we do it in this way, the O=.... can be omitted.
> 
> In former times you have to use KERNEL_EXTMOD Variable for something
> like that.
> 
> Or, if do NOT want this, we should generate at least the
> Modules.symvers file for emc modules.
> 
> Kind Regards
> 
> Wolfgang
> -----


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to