[flashrom] [commit] r798 - trunk

svn at flashrom.org svn at flashrom.org
Mon Dec 14 04:07:31 CET 2009


Author: hailfinger
Date: 2009-12-14 04:07:31 +0100 (Mon, 14 Dec 2009)
New Revision: 798

Modified:
   trunk/print.c
Log:
Don't print out supported PCI devices header if all following lines are
excluded from build.

Signed-off-by: Adam Jurkowski <adam.jurkowski at kontron.pl>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>


Modified: trunk/print.c
===================================================================
--- trunk/print.c	2009-12-13 22:28:00 UTC (rev 797)
+++ trunk/print.c	2009-12-14 03:07:31 UTC (rev 798)
@@ -231,8 +231,10 @@
 		print_supported_chipsets();
 		print_supported_boards();
 #endif
+#if (NIC3COM_SUPPORT == 1) || (GFXNVIDIA_SUPPORT == 1) || (DRKAISER_SUPPORT == 1) || (SATASII_SUPPORT == 1)
 		printf("\nSupported PCI devices flashrom can use "
 		       "as programmer:\n\n");
+#endif
 #if NIC3COM_SUPPORT == 1
 		print_supported_pcidevs(nics_3com);
 #endif





More information about the flashrom mailing list