[coreboot] [PATCH] flashrom: Make packagers happy

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Thu May 14 09:27:17 CEST 2009

On 14.05.2009 04:23, Peter Stuge wrote:
> Carl-Daniel Hailfinger wrote:
>> +	@echo -n $(SVNVERSION) >flashrom-$(VERSION)/.svnversion
> That's pretty ugly.

It's the only way I saw to preserve the svn revision in the tarball
(well except $Rev$ which would have been sprinkled over every file to
get a reasonable result) and have identical makefile functionality both
for exported trees and svn trees.

The big problem I tried to address in this patch is that most
distributions patch out the part of the makefile which tries to retrieve
the svn revision because the tarball they ship has no .svn directories
any more. That way, we lose revision information for most distribution

Any hints on how to fix this in a different way are appreciated.



More information about the coreboot mailing list