lkml.org 
[lkml]   [2003]   [Jan]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Dealing with 2.5.x subarch headers
On Wed, Jan 15, 2003 at 11:48:14AM +0100, Brice Goglin wrote:
> Hi,
>
> I am working on a module for 2.5.x. My module requires
> something like irq_vectors.h.
> Due do previous messages about this and John Stultz'
> subarch cleanup patch (merged in 2.5.53), I finally
> added "-Iinclude/asm/mach-default" to gcc options.

You should avoid introducing all this.
Do the following

$ make -C path/to/kernel/src SUBDIRS=$PWD modules

That will do the trick, and you include the .config for the selected kernel.

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:32    [W:0.031 / U:3.892 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site