summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2009-12-14 03:07:31 +0000
committerhailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2009-12-14 03:07:31 +0000
commitb381857610426945663a73979a33a9e030d16653 (patch)
treecc39537d2c4b150beba95ebd749a7cbbc8e321d2
parent122c82201036a90f7440a0908f5dc22780ce1ef4 (diff)
downloadflashrom-b381857610426945663a73979a33a9e030d16653.tar.gz
Don't print out supported PCI devices header if all following lines are
excluded from build. Signed-off-by: Adam Jurkowski <adam.jurkowski@kontron.pl> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@798 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-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