[flashrom] [PATCH] flashrom dependencies

Stefan Reinauer stepan at coresystems.de
Tue Mar 30 09:48:00 CEST 2010


On 3/30/10 5:12 AM, Carl-Daniel Hailfinger wrote:
> Unfortunately, this breaks make clean (and therefore make distclean) for
> non-default configurations because OBJS will only contain the currently
> selected modules. You can reproduce this easily with
>
> # make CONFIG_BITBANG_SPI=yes CONFIG_GFXNVIDIA=yes CONFIG_ATAHPT=yes
> CONFIG_DEDIPROG=yes
> # make clean

Yes, it assumes, that you specify the same build flags on make clean,
too. If that's not what you want, just change the $(OBJS)
stuff to *.o *.d. I initially decided against this as some people are
allergic when make clean does not only clean the stuff make created but
operates with wild cards.

Stefan





More information about the flashrom mailing list