Re: [PATCH] Re: SCSI scanning

From: Torben Mathiasen (tmm@image.dk)
Date: Thu Sep 21 2000 - 16:56:50 EST


On Thu, Sep 21 2000, Michael Elizabeth Chastain wrote:
> Torben Mathiasen wrote:
>
> > I can't seem to find a clean way of getting the drivers outside
> > "drivers/scsi" to link _after_ the other low-level drivers.
>
> Can you characterize the problem in more detail for me? That is,
> exactly what link order constraints you are trying to obey.
>
> I am thinking about this:
>
> # Makefile
> link-first := drivers/scsi/foo.o drivers/i2o/%o drivers/scsi/bar.o
> link-last :=
>
> DRIVERS := \
> $(filter $(link-first), $(DRIVERS)) \
> $(filter-out $(link-first) $(link-last), $(DRIVERS)) \
> $(filter $(link-last), $(DRIVERS))
>

Okay, in pre5 I got the scsi system to link

core-hosts-upperlayers.

We need to get the drivers outside drivers/scsi to link
as the _last_ ones in the host section:

core-hosts/i2o-upper.

Now this is difficult without moving things around, which is
bad. I'm not a makefile guru, so if you have any ideas go
for it. Alan problaly wants to verify the i2o stuff...

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

-- 
Torben Mathiasen <tmm@image.dk>
Linux ThunderLAN maintainer 
http://tlan.kernel.dk
-
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