2.4.7-ac9 drivers/scsci/Makefile cpqfc

From: Keith Owens (kaos@ocs.com.au)
Date: Wed Aug 08 2001 - 08:24:46 EST


This chunk of code in 2.4.7-ac9 drivers/scsi/Makefile makes no sense.

  #if we have a triggerable HBA (extra circuit addition for
  #TTL level output on GPIO line), build in the trigger file

  #CPQTRIGGER_FILE = cpqfcTStrigger.c

  CPQTRIG = cpqfcTStrigger.o

  cpqfcTStrigger.o: cpqfcTStrigger.c

  cpqfcTSinit.o: cpqfcTSinit.c cpqfcTSstructs.h cpqfcTSchip.h cpqfcTSioctl.h

  cpqfcTScontrol.o: cpqfcTScontrol.c cpqfcTSstructs.h cpqfcTSchip.h

  cpqfcTSi2c.o: cpqfcTSi2c.c cpqfcTSchip.h

  cpqfcTSworker.o: cpqfcTSworker.c cpqfcTSchip.h cpqfcTSstructs.h cpqfcTSioctl.h

  cpqfc.o: cpqfcTSinit.o cpqfcTScontrol.o cpqfcTSi2c.o cpqfcTSworker.o $(CPQTRIG)
          $(LD) -r -o cpqfc.o cpqfcTSinit.o cpqfcTScontrol.o \
          cpqfcTSi2c.o cpqfcTSworker.o $(CPQTRIG)

Why are all the individual dependencies listed, make dep does it
automatically. Why is cpqfc not coded like this?

list-multi += cpqfc.o
cpqfc-objs := cpqfcTSinit.o cpqfcTScontrol.o cpqfcTSi2c.o cpqfcTSworker.o cpqfcTStrigger.o
...
cpqfc.o: $(cpqfc-objs)
        $(LD) -r -o $@ $(cpqfc-objs)

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



This archive was generated by hypermail 2b29 : Wed Aug 15 2001 - 21:00:17 EST