On Sat, 20 Feb 2016 23:10:32 +0100 Carl-Daniel Hailfinger <[email protected]> wrote:
> Allow global disable of all drivers requiring libusb* or libpci > This is especially helpful for compile tests with CONFIG_EVERYTHING=yes, > but can also be used without CONFIG_EVERYTHING. > > Usage: > make CONFIG_ENABLE_LIBUSB0_PROGRAMMERS=no > CONFIG_ENABLE_LIBUSB1_PROGRAMMERS=no CONFIG_ENABLE_LIBPCI_PROGRAMMERS=no > > Signed-off-by: Carl-Daniel Hailfinger <[email protected]> > > Index: flashrom-libpci_libusb_global_disable/Makefile > =================================================================== > --- flashrom-libpci_libusb_global_disable/Makefile (Revision 1935) > +++ flashrom-libpci_libusb_global_disable/Makefile (Arbeitskopie) > @@ -542,6 +542,34 @@ > $(eval $(var)=yes))) > endif > > +# Disable feature groups > +ifeq ($(CONFIG_ENABLE_LIBUSB0_PROGRAMMERS), no) > +override CONFIG_PICKIT2_SPI = no > +override CONFIG_DEDIPROG = no Dediprog is in both lists and should be removed from the libusb0 group. > +endif > +ifeq ($(CONFIG_ENABLE_LIBUSB1_PROGRAMMERS), no) > +override CONFIG_CH341A_SPI = no > +override CONFIG_DEDIPROG = no > +endif Apart from that this is Acked-by: Stefan Tauner <[email protected]> -- Kind regards/Mit freundlichen Grüßen, Stefan Tauner _______________________________________________ flashrom mailing list [email protected] http://www.flashrom.org/mailman/listinfo/flashrom
