Commit 516f9321 authored by Adam Jurkowski's avatar Adam Jurkowski Committed by Carl-Daniel Hailfinger
Browse files

Don't print out supported PCI devices header if all following lines are excluded from build


Corresponding to flashrom svn r798.
Signed-off-by: default avatarAdam Jurkowski <adam.jurkowski@kontron.pl>
Acked-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
parent 66ef4e5f
...@@ -231,8 +231,10 @@ void print_supported(void) ...@@ -231,8 +231,10 @@ void print_supported(void)
print_supported_chipsets(); print_supported_chipsets();
print_supported_boards(); print_supported_boards();
#endif #endif
#if (NIC3COM_SUPPORT == 1) || (GFXNVIDIA_SUPPORT == 1) || (DRKAISER_SUPPORT == 1) || (SATASII_SUPPORT == 1)
printf("\nSupported PCI devices flashrom can use " printf("\nSupported PCI devices flashrom can use "
"as programmer:\n\n"); "as programmer:\n\n");
#endif
#if NIC3COM_SUPPORT == 1 #if NIC3COM_SUPPORT == 1
print_supported_pcidevs(nics_3com); print_supported_pcidevs(nics_3com);
#endif #endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment