summaryrefslogtreecommitdiffstats
path: root/print.c
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2009-09-16 10:09:21 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2009-09-16 10:09:21 +0000
commit4740c6ff3c230c83fa618557f94cc6675c5ab3b1 (patch)
tree9e511c0b501d900db3810632231ca8a620a118e6 /print.c
parentab044b20a2b44097ce65c3fd4f232ee7170303ba (diff)
downloadast2050-flashrom-4740c6ff3c230c83fa618557f94cc6675c5ab3b1.zip
ast2050-flashrom-4740c6ff3c230c83fa618557f94cc6675c5ab3b1.tar.gz
Allow to exclude each of the external programmer drivers from being compiled in
Example make commandline if you want only internal programmers: make CONFIG_FT2232SPI=no CONFIG_SERPROG=no CONFIG_NIC3COM=no CONFIG_SATASII=no CONFIG_DRKAISER=no CONFIG_DUMMY=no Of course, all of the CONFIG_* symbols can be mixed and matched as needed. CONFIG_FT2232SPI is special because even if it is enabled, make will check if the headers are available and skip it otherwise. Corresponding to flashrom svn r724. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Stefan Reinauer <stepan@coresystems.de>
Diffstat (limited to 'print.c')
-rw-r--r--print.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/print.c b/print.c
index ce46e1b..a86ea05 100644
--- a/print.c
+++ b/print.c
@@ -731,8 +731,15 @@ void print_wiki_tables(void)
print_supported_chipsets_wiki();
print_supported_boards_wiki();
printf("%s", programmer_section);
+#if NIC3COM_SUPPORT == 1
print_supported_pcidevs_wiki(nics_3com);
+#endif
+#if DRKAISER_SUPPORT == 1
+ /* FIXME: drkaiser_pcidev is missing here. */
+#endif
+#if SATASII_SUPPORT == 1
print_supported_pcidevs_wiki(satas_sii);
+#endif
printf("\n|}\n");
}
OpenPOWER on IntegriCloud