Re: [PATCH] Re: SCSI scanning

From: Michael Elizabeth Chastain (mec@shout.net)
Date: Thu Sep 21 2000 - 17:09:48 EST


torben> core-hosts/i2o-upper.

Ok, I understand the problem.

Can you elaborate some more on exactly which files go in "core",
"hosts", and "upper"? My understanding is:

    # drivers/scsi
    scsi-core-files := scsi_mod.o scsi_syms.o
    scsi-hosts-files := ... everything not in core and upper ...
    scsi-upper-files := st.o sd_mod.o sr_mod.o sg.o

    # i2o
    i2o-files := %.o

I can do this in the top Makefile by declaring lists like the above
using $(filter) and $(filter-out). The hard part is going to be defining
"scsi-hosts-files" to work properly. I think I will need to add a few
more lines to drivers/scsi/Makefile and make one more multi. Or maybe
three more multis.

But I'm sure I can do it without moving any source files around.

torben> The perfect solution would be to remove the link order
torben> dependency.

Yeah, I agree with Linus: minimizing link order dependencies is the
right thing.

For the link order dependencies which *do* exist at any point in time,
I'd like the Makefiles to have explicit link-ordering declarations with
comments on them about why they are needed.

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



This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 21:00:25 EST