[flashrom] [PATCH] Compile out external programmers on request

Stefan Reinauer stepan at coresystems.de
Wed Sep 16 12:06:10 CEST 2009


Carl-Daniel Hailfinger wrote:
> 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.
>
> Compilation for all combinations works for me, and the internal
> consistency checks of flashrom are happy as well.
>
> We probably should think about outsourcing ft2232spi probing and libpci
> probing and make variable setting to a small configure script.
>
> Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>
>   

Acked-by: Stefan Reinauer <stepan at coresystems.de>



Stefan




More information about the flashrom mailing list