[aic7xxx] Spurious recompile with defconfig

From: Sam Ravnborg (sam@ravnborg.org)
Date: Sat Dec 28 2002 - 03:56:31 EST


When compiling aic7xxx in 2.5.53 with defconfig the kernel always
recompiles because dependency for reg_print.c is not
per default in the aic7xxx Makefile.
Simple correction is to make PRETTY_PRINT dependend on BUILD_FIRMWARE.

        Sam

===== drivers/scsi/aic7xxx/Kconfig.aic79xx 1.5 vs edited =====
--- 1.5/drivers/scsi/aic7xxx/Kconfig.aic79xx Fri Dec 13 21:17:38 2002
+++ edited/drivers/scsi/aic7xxx/Kconfig.aic79xx Sat Dec 28 09:46:40 2002
@@ -87,7 +87,7 @@
 
 config AIC79XX_REG_PRETTY_PRINT
         bool "Decode registers during diagnostics"
- depends on SCSI_AIC79XX
+ depends on SCSI_AIC79XX && SCSI_AIC7XXX_BUILD_FIRMWARE
         default y
         help
         Compile in register value tables for the output of expanded register
===== drivers/scsi/aic7xxx/Kconfig.aic7xxx 1.6 vs edited =====
--- 1.6/drivers/scsi/aic7xxx/Kconfig.aic7xxx Tue Dec 24 20:12:14 2002
+++ edited/drivers/scsi/aic7xxx/Kconfig.aic7xxx Sat Dec 28 09:46:22 2002
@@ -92,7 +92,7 @@
 
 config AIC7XXX_REG_PRETTY_PRINT
         bool "Decode registers during diagnostics"
- depends on SCSI_AIC7XXX
+ depends on SCSI_AIC7XXX && SCSI_AIC7XXX_BUILD_FIRMWARE
         default y
         help
         Compile in register value tables for the output of expanded register
-
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 : Tue Dec 31 2002 - 22:00:12 EST