public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.4.7-ac9 drivers/scsci/Makefile cpqfc
@ 2001-08-08 13:24 Keith Owens
  0 siblings, 0 replies; only message in thread
From: Keith Owens @ 2001-08-08 13:24 UTC (permalink / raw)
  To: linux-kernel

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)



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-08-08 13:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-08 13:24 2.4.7-ac9 drivers/scsci/Makefile cpqfc Keith Owens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox