[flashrom] [PATCH v6] Add Altera USB-Blaster SPI programmer.
stefan.tauner at student.tuwien.ac.at
Wed Mar 27 14:06:10 CET 2013
On Wed, 27 Mar 2013 00:44:57 +0100
Stefan Tauner <stefan.tauner at student.tuwien.ac.at> wrote:
> Only Makefile changes versus v5.
> I still don't get this make magic at all...
> why does grepping in the .features file work which is only created when
> NEED_FTDI is set to yes, which only happens after the grepping (at least
> it is set one lines below NEED_FTDI...)!?
the explanation (which I seem to keep forgetting forever) is the
two-phase evaluation of makefile and so-called deferred expansions:
With v6 it is possible to compile ft2232_spi and usbblaster_spi
independently. The only thing that does not work is stuff like
make distclean ; make CONFIG_FT2232_SPI=yes CONFIG_USBBLASTER_SPI=no ; make CONFIG_FT2232_SPI=no CONFIG_USBBLASTER=yes
because of the enum programmer, but that is not specific to this
programmer, so I have committed ~this version in r1658 eventually.
Thanks Kyösti for pushing and thanks James for the initial version of
Kind regards/Mit freundlichen Grüßen, Stefan Tauner
More information about the flashrom