[flashrom] [commit] r772 - trunk

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Tue Nov 24 01:45:22 CET 2009


On 24.11.2009 01:29, Stefan Reinauer wrote:
> svn at flashrom.org wrote:
>   
>> +ifeq ($(CONFIG_BUSPIRATESPI), yes)
>> +FEATURE_CFLAGS += -D'BUSPIRATE_SPI_SUPPORT=1'
>> +OBJS += buspirate_spi.o
>> +endif
>> +
>> +# Ugly, but there's no elif/elseif.
>>  ifeq ($(CONFIG_SERPROG), yes)
>>  OBJS += serial.o
>> +else
>> +ifeq ($(CONFIG_BUSPIRATESPI), yes)
>> +OBJS += serial.o
>>  endif
>> +endif
>>     
>
> how long before we see Kconfig? ;-)
>   

I'm thinking of a simple sh configure script. That would clean up quite
a few parts of the Makefile and remove a ton of ugly hacks.
Kconfig is not on my radar yet, AFAICS it is larger than the rest of the
code combined.

Regards,
Carl-Daniel

-- 
Developer quote of the month: 
"We are juggling too many chainsaws and flaming arrows and tigers."





More information about the flashrom mailing list