spi-tools: bump to version 0.8.1

This version doesn't use GIT_VERSION anymore, so the sed hook is no
longer necessary.

Fixes http://autobuild.buildroot.net/results/ed89fae4a722b5d2adff9826bb88e55e58af77f6

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Erico Nunes 2016-01-18 23:10:04 -02:00 committed by Thomas Petazzoni
parent 38c5f75d18
commit 628ee06f07
2 changed files with 2 additions and 12 deletions

View file

@ -1,2 +1,2 @@
# locally computed hash
sha256 52ab1f1de29afbac95983f5af58adcb1807e1f3479a897e9331e020b5cfa296f spi-tools-cc6a41fdcec60610703ba6db488c621c64952898.tar.gz
sha256 72a6c4a9d13011addc61bc3906543cd06f76f567270ae4b6ca4d0115fd6a9538 spi-tools-0.8.1.tar.gz

View file

@ -4,21 +4,11 @@
#
################################################################################
# git commit sha1 is used as there is no release tag with autotools support yet
SPI_TOOLS_VERSION = cc6a41fdcec60610703ba6db488c621c64952898
SPI_TOOLS_VERSION = 0.8.1
SPI_TOOLS_SITE = $(call github,cpb-,spi-tools,$(SPI_TOOLS_VERSION))
# autoreconf must be run as specified in package documentation
SPI_TOOLS_AUTORECONF = YES
SPI_TOOLS_LICENSE = GPLv2
SPI_TOOLS_LICENSE_FILES = LICENSE
# Package attempts to use git to obtain version, that fails within Buildroot.
# To avoid it, set the GIT_VERSION variable to the Buildroot package version.
define SPI_TOOLS_SET_VERSION
$(SED) "s/^\(GIT_VERSION:=\).*/\1$(SPI_TOOLS_VERSION)/" \
$(@D)/src/Makefile.am
endef
SPI_TOOLS_POST_PATCH_HOOKS = SPI_TOOLS_SET_VERSION
$(eval $(autotools-package))