Re: Export objs from an external Makefile?

From: Keith Owens (
Date: Thu Oct 11 2001 - 18:42:05 EST

On Thu, 11 Oct 2001 09:35:32 -0700,
Tom Rini <> 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
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Oct 15 2001 - 21:00:42 EST