Don't print out supported PCI devices header if all following lines are
excluded from build.
Signed-off-by: Adam Jurkowski <[email protected]>
---
best regards,
Adam Jurkowski
Index: print.c
===================================================================
--- print.c (revision 775)
+++ print.c (working copy)
@@ -227,8 +227,10 @@
print_supported_chips();
print_supported_chipsets();
print_supported_boards();
+#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
_______________________________________________
flashrom mailing list
[email protected]
http://www.flashrom.org/mailman/listinfo/flashrom