mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* AIC7XXX build broken in 2.5.15+Kbuild?
@ 2002-05-11  1:47 Nathan
  2002-05-11  2:30 ` Keith Owens
  0 siblings, 1 reply; 2+ messages in thread
From: Nathan @ 2002-05-11  1:47 UTC (permalink / raw)
  To: linux-kernel

Using Kbuild-2.5 core 12, common against 2.5.15-1, i386 against 
2.5.15-1, and some ACPI fixups in arch/i386/{pci,kernel}/Makefile.in to 
make their latest patch work.

It doesn't build with "make -f Makefile-2.5" and trying to specify it 
manually gives:

$ make -f Makefile-2.5 drivers/scsi/aic7xxx/aic7xxx_core.o
Using ARCH='i386' AS='as' LD='ld' CC='/usr/bin/gcc' CPP='/usr/bin/gcc 
-E' AR='ar' HOSTAS='as' HOSTLD='gcc' HOSTCC='gcc' HOSTAR='ar'
Generating global Makefile
  phase 1 (find all inputs)
  phase 2 (convert all Makefile.in files)
  phase 3 (evaluate selections)
  phase 4 (integrity checks, write global makefile)
Starting phase 5 (build) for drivers/scsi/aic7xxx/aic7xxx_core.o
make[1]: Nothing to be done for `drivers/scsi/aic7xxx/aic7xxx_core.o'.
Phase 5 complete for drivers/scsi/aic7xxx/aic7xxx_core.o

Relevant configs:

CONFIG_SCSI_AIC7XXX=m
CONFIG_AIC7XXX_CMDS_PER_DEVICE=253
CONFIG_AIC7XXX_RESET_DELAY_MS=15000
# CONFIG_AIC7XXX_BUILD_FIRMWARE is not set

The build system *does* get all the sr_mod, sd_mod, etc. files.

Help!

--Nathan



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: AIC7XXX build broken in 2.5.15+Kbuild?
  2002-05-11  1:47 AIC7XXX build broken in 2.5.15+Kbuild? Nathan
@ 2002-05-11  2:30 ` Keith Owens
  0 siblings, 0 replies; 2+ messages in thread
From: Keith Owens @ 2002-05-11  2:30 UTC (permalink / raw)
  To: Nathan; +Cc: linux-kernel

On Fri, 10 May 2002 21:47:39 -0400, 
Nathan <wfilardo@fuse.net> wrote:
>Using Kbuild-2.5 core 12, common against 2.5.15-1, i386 against 
>2.5.15-1, and some ACPI fixups in arch/i386/{pci,kernel}/Makefile.in to 
>make their latest patch work.
>$ make -f Makefile-2.5 drivers/scsi/aic7xxx/aic7xxx_core.o
>make[1]: Nothing to be done for `drivers/scsi/aic7xxx/aic7xxx_core.o'.

While converting the aic7xxx mess to something sane, I missed a line.
There is a secondary problem where the aic7xxx_{seq,reg}.h files are
always rebuilt, I am tracking that down now.

diff -ur 2.5.15-kbuild-2.5/drivers/scsi/aic7xxx/Makefile.in 2.5.15-kbuild-2.5.new/drivers/scsi/aic7xxx/Makefile.in
--- 2.5.15-kbuild-2.5/drivers/scsi/aic7xxx/Makefile.in	Sat May 11 12:28:02 2002
+++ 2.5.15-kbuild-2.5.new/drivers/scsi/aic7xxx/Makefile.in	Sat May 11 12:23:07 2002
@@ -15,6 +15,8 @@
 
 objlink(aic7xxx.o $(AIC7XXX_OBJS))
 
+select(CONFIG_SCSI_AIC7XXX aic7xxx.o)
+
 extra_cflags_all($(src_includelist /drivers/scsi))
 
 # Only aic7xxx.c includes aic7xxx_seq.h.
@@ -47,12 +49,12 @@
   ifneq ($(KBUILD_SRCTREE_000),$(KBUILD_OBJTREE))
     user_command(aic7xxx_seq.h
 	($(srcfile_base aic7xxx_seq.h))
-	(cp -a $< $@)
+	(cp -fa $< $@)
 	()
 	)
     user_command(aic7xxx_reg.h
 	($(srcfile_base aic7xxx_reg.h))
-	(cp -a $< $@)
+	(cp -fa $< $@)
 	()
 	)
   endif


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-05-11  2:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-11  1:47 AIC7XXX build broken in 2.5.15+Kbuild? Nathan
2002-05-11  2:30 ` Keith Owens

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

all inboxes | Powered by JetHome®