Re: [KBUILD] Re: toplevel Makefile bug and simple fix

Keith Owens (kaos@ocs.com.au)
Mon, 08 Nov 1999 08:46:55 +1100


On Sun, 7 Nov 1999 07:05:27 -0600 (CST),
Peter Samuelson <peter@wire.cadcamlab.org> wrote:
> * Makefile in extras/ assumes that any file foo.c is a standalone
> module to be installed as foo.o in the "extras" section

Assumptions alone are not enough, you need to set exactly one of
M_OBJS, MX_OBJS, MI_OBJS and MIX_OBJS.

> * hmmm, what to do with MODVERSIONS / genksyms?

See my patch earlier in this thread to add directory /independent,
automatically include independent makefile fragments and tie the whole
thing into the kernel Makefile structure. That together with
automatically setting one of M, MX, MI or MIX_OBJS takes care of
modversions and genksyms.

>> I got as far as getting it to unpack before my limited knowledge of
>> the kernel makefile and build system became a problem and I ran out
>> of time.
>
>I think I could code it. Anyone interested?

Already done.

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