Re: [KBUILD] Re: SCSI Makefile cleanup

From: Horst von Brand (vonbrand@sleipnir.valparaiso.cl)
Date: Sun Feb 06 2000 - 19:50:41 EST


Peter Samuelson <peter@cadcamlab.org> said:
> [mec]
> > Ultimately I would like to see the link order dependencies specified
> > explicitly in some way. (foo.o needs to come before bar.o et
> > cetera), and then have Rules.make guarantee to honor that through
> > list manipulation. But not in 2.4.

> When Linus did the link order thing, I thought at the time that it
> would be neat to have every init function be able to return -EAGAIN and
> it would then be put back on the end of the queue. The master init
> function would keep cycling through the list until one entire run with
> no success returns.

Urgh.

> Like you do with bubble sort. (:

Exactly.

I proposed some time back (on linux-kernel) to use tsort(1) for this, as it
was created just for keeping track of link order. The idea was shot down as
too hacky :(

-- 
Horst von Brand                             vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Viņa del Mar, Chile                               +56 32 672616

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



This archive was generated by hypermail 2b29 : Mon Feb 07 2000 - 21:00:14 EST