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).
> 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.
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 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
We are talking about V2 (not V1) compatybility of rtlinux-2.3-pre3.tar.gz.
Best regards,
--
Tomek
-- [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/