Commit 628ee06f authored by Erico Nunes's avatar Erico Nunes Committed by Thomas Petazzoni
Browse files

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: default avatarErico Nunes <nunes.erico@gmail.com>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 38c5f75d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
# locally computed hash
sha256	52ab1f1de29afbac95983f5af58adcb1807e1f3479a897e9331e020b5cfa296f  spi-tools-cc6a41fdcec60610703ba6db488c621c64952898.tar.gz
sha256	72a6c4a9d13011addc61bc3906543cd06f76f567270ae4b6ca4d0115fd6a9538 spi-tools-0.8.1.tar.gz
+1 −11
Original line number Diff line number Diff line
@@ -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))