summaryrefslogtreecommitdiffstats
path: root/print.c
diff options
context:
space:
mode:
authorAdam Jurkowski <adam.jurkowski@kontron.pl>2009-12-14 03:07:31 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2009-12-14 03:07:31 +0000
commit68432ebc02d781f52d200305fc830c1d3eac9bd2 (patch)
treecc39537d2c4b150beba95ebd749a7cbbc8e321d2 /print.c
parent4c382c1418c3c0825e8f9005b58e563bbbecb795 (diff)
downloadflashrom-68432ebc02d781f52d200305fc830c1d3eac9bd2.zip
flashrom-68432ebc02d781f52d200305fc830c1d3eac9bd2.tar.gz
Don't print out supported PCI devices header if all following lines are excluded from build
Corresponding to flashrom svn r798. Signed-off-by: Adam Jurkowski <adam.jurkowski@kontron.pl> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'print.c')
-rw-r--r--print.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/print.c b/print.c
index 3f2f397..f9633c8 100644
--- a/print.c
+++ b/print.c
@@ -231,8 +231,10 @@ void print_supported(void)
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
OpenPOWER on IntegriCloud