Re: 2.4.6 PCMCIA NET modular build breakage

Oleg Drokin (green@linuxhacker.ru)
Sat, 7 Jul 2001 18:30:33 +0400


Hello!

>> Seems like its something that appeared between 2.4.5 and 2.4.6. Anyone
>> know the correct fix, other than reversing the change?
KG> It should be fine.
It is not.

>> Since all net cards are modules, object list for pcmcia_net.o is empty and
>> kernel can't be linked.
KG> Could you reproduce this? (I don't think you can)
Sure, I can. First thing I did was in fact to try and reproduce that.

KG> Rules.make takes care of an empty $(obj-y) and builds an empty $(O_TARGET)
KG> file in this case, so linking this in should work fine.
Hmm....
(examining Makefile...)
I see. So there cannot be usual targets before including Rules.make,
and my copy of the tree have these. And if I move them after inclusion,
everything builds just fine.
Perhaps it should be documented somewhere.

Well. So at the end it seems to be not a vanilla kernel problem. That's good.

Bye,
Oleg
-
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/