From 516f93219f0ea955d7f98d856c4e3161e0416348 Mon Sep 17 00:00:00 2001 From: Adam Jurkowski Date: Mon, 14 Dec 2009 03:07:31 +0000 Subject: 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 Acked-by: Carl-Daniel Hailfinger --- print.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'print.c') 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 -- cgit v1.1