lkml.org 
[lkml]   [2003]   [Aug]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: compiling external kernel modules (comedi.org)
On Sat, Aug 02, 2003 at 02:10:24PM +0100, Bernd Porr wrote:
> Sam,
>
> how can I include the "legal way" includes for comedi? Just now comedi
> has set up a "linux/include" path in its directory but I think this not
> the elegant way and it also dosn't work right now.
I have not tried this, but specifying the include path relative to the
directory where the .c file is placed should do the trick.
So if you have:
comedi/
include/
And execute "make -C ...." within the comedi/ directory, the statement:
EXTRA_CFLAGS := -I$(obj)/../include
in the Makefile should do the trick.

> /Bernd
> P.S.: I'm subscribed...
But I'm not - getting these:

Subject: Your message to comedi awaits moderator approval

My point was not to cc: the comedi ML, since potential repliers (like me)
get these kind of replies.

Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.104 / U:0.656 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site