Re: Makefile problem and modules

From: Andrzej Krzysztofowicz (kufel!ankry@green.mif.pg.gda.pl)
Date: Fri Jul 13 2001 - 17:07:04 EST


> I wrote a module for IPv6 but there is a case when it is
> compiled.
> (For the moment my code can only work as a module...)
> When IPv6 is compiled as a module, my module is well compiled.
> But if IPv6 is directly in the kernel, my module is not take
> into account (I've got no object file).
>
> Here is the only line I added to the Makefile (near the end):
>
> obj-$(CONFIG_IPV6_MYSTUFF) += mystuff.o

In which directory? net/ipv6/ ?

Maybe you need to add

subdir-m += ipv6

in net/Makefile then.
net/ipv6 is not processed during module compilation when CONFIG_IPV6=y
(except net/ipv6/netfilter).

Andrzej
-
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/



This archive was generated by hypermail 2b29 : Sun Jul 15 2001 - 21:00:20 EST