spi-tools: new package
authorErico Nunes <nunes.erico@gmail.com>
Sat, 21 Nov 2015 02:14:29 +0000 (00:14 -0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 29 Nov 2015 14:53:25 +0000 (15:53 +0100)
commit9ed8750b4313bf26798c063c83a071995c90bb40
tree351355d7945e160a79e90474401cf811af48ed10
parent10478514a51427e855f83eeb24a0502b1380150c
spi-tools: new package

This package contains some simple command line tools to help using Linux
spidev devices.

https://github.com/cpb-/spi-tools

The included version is based in a sha1 and not a tagged version as the
current master branch contains autotools support for build but there is
no tagged version with autotools support yet.

The only other quirk with the recipe is related to the VERSION define
which is normally obtained in build time via git for this package, but
that would fail within Buildroot as the package build is normally not
performed inside a git repository.
To work around that, I have added a hook which will substitute change
the VERSION to match that of the Buildroot package.

I have tested this package in an ARM target with a custom SPI device.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/spi-tools/Config.in [new file with mode: 0644]
package/spi-tools/spi-tools.hash [new file with mode: 0644]
package/spi-tools/spi-tools.mk [new file with mode: 0644]