Tomasz Motylewski ([EMAIL PROTECTED]) wrote:
> On Mon, 28 Aug 2000, Michael Barabanov wrote:
>
> > CONFIG_RTL was an oversight; sorry.
> > I will add CONFIG_RTL in the next version. Meanwhile, you could
> > define CONFIG_RTL in include/compat/linux/rtl.h (yes, linux/rtl.h is there,
> > it's just not in the kernel source anymore).
>
> This will not help, it is "make config", not source code dependence. Comedi
> looks in kernel's .config (Config.in script depends on it).
Ok I see. Will fix. Thanks.
> > I haven't looked at comedy makefiles. The idea about building
> > RTLinux applications is that the application Makefile should include
> > the rtl.mk file from the RTLinux distribution that it's being compiled
> > against. This file contains all paths, gcc flags etc. And the
>
> This brings us to the question of standard location of rtl.mk file?
> /usr/src/linux/include is standard, /usr/include/rtlinux is standard.
> rtl.mk NOR rtlinux30pre6c/include/compat are not installed as a part
> of "make install". So, my point is that system after "make install" + pached
> kernel source should be enough to build and use RT modules.
There still must be a way to get the compiler flags.
> Moreover imagine what happens if some application depends on more than one
> package having it's .mk file. One should then at least change
> CFLAGS = ...
> to
> CFLAGS += ...
> in rtl.mk
I like the += idea.
> I would understand requirement to fix makefiles going from v2.0 to v3.0.
> But if you release v3.0 as v2.x YOU are responsible for keeping
> compatybility. I think that in this case good fix would be to add
> /usr/src/include/linux/rtl.h (same as
> rtlinux30pre6c/include/compat/linux/rtl.h) to kernel_patch-2.2
I still don't see how this is a RTLinux problem. It is comedy's responsibility
to include rtl.mk to get all include files correctly.
I for one have multiple versions of rtlinux installed (smp/up, 2.2/2.4 etc).
I do not think I am the only one.
And there is only one standard location.
> We are talking about V2 (not V1) compatybility of rtlinux-2.3-pre3.tar.gz.
Ok. After all 2.3 is still in pre stage. Now that we some problems are
known, we can fix them and get closer to the better 2.3 release.
Michael.
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/