[willy@thepuffingroup.com]
> Oh, drat. I didn't reorder the lines in the file, but I did then use
> $(sort $(obj_y)) to remove duplicates. I don't think duplicates
> really matter, it was just an optimisation. If that sort is removed,
> how does it look?
Hmmmm. You could split out the three files that could be duplicated
(wd33c93.o, 53c7xx.o, NCR53C9x.o) from everything else...
-obj_$(CONFIG_SCSI_SGIWD93) += sgiwd93.o wd33c93.o
+obj_$(CONFIG_SCSI_SGIWD93) += sgiwd93.o
+auxobj_$(CONFIG_SCSI_SGIWD93) += wd33c93.o
-obj_$(CONFIG_SCSI_MCA_53C9X) += NCR53C9x.o mca_53c9x.o
+obj_$(CONFIG_SCSI_MCA_53C9X) += mca_53c9x.o
+auxobj_$(CONFIG_SCSI_MCA_53C9X) += NCR53C9x.o
Then you can optimize auxobj_y and auxobj_m without touching obj_y.
A hack? Yes, horrible. But I would still like it better than the
current makefile.
Peter
-
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