lkml.org 
[lkml]   [2001]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Export objs from an external Makefile?
Date
On Thu, 11 Oct 2001 09:35:32 -0700, 
Tom Rini <trini@kernel.crashing.org> wrote:
>Hey all. How do you do the 'export-objs' bits in a kernel module that's
>outside of the kernel? Thanks..

Compile with -DMODULE -DEXPORT_SYMTAB. If the kernel has modversions,
add -DMODVERSIONS -include $(HPATH)/linux/modversions.h. The safest
way is to compile a module in the kernel that exports the objects then
copy the command, substituting the file names.

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