summaryrefslogtreecommitdiffstats
path: root/package/spidev_test
Commit message (Collapse)AuthorAgeFilesLines
* packages: use new $($PKG)_DL_DIR) variableMaxime Hadjinlian2018-04-021-1/+1
| | | | | | | | | | | | | | | | | | | | | Instead of DL_DIR, the package should now use $(PKG)_DL_DIR to ease the transition into a new directory structure for DL_DIR. This commit has been generated with the following scripts: for i in $(find . -iname "*.mk"); do if ! grep -q "\$(DL_DIR)" ${i}; then continue fi pkg_name="$(basename $(dirname ${i}))" [ "${pkg_name}" = "package" ] && continue raw_pkg_name=$(echo ${pkg_name} | tr [a-z] [A-Z] | tr '-' '_') pkg_dl_dir="${raw_pkg_name}_DL_DIR" sed -i "s/\$(DL_DIR)/\$($pkg_dl_dir)/" ${i} done Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* spidev-test: s/BR2_DL_DIR/DL_DIR/Maxime Hadjinlian2017-07-041-1/+1
| | | | | | | | BR2_DL_DIR is not to be used by the package's Makefile. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Acked-by: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* spidev_test: bump to version in Linux 4.10Joeri Barbarien2017-05-042-3/+9
| | | | | | | | | | | | spidev_test has further evolved after kernel version 3.15, which is the most recent version that could be built in this package. This change allows to build the latest version of spidev_test if the toolchain's kernel header version allows it. In this way, when building with a newer toolchain, we are able to benefit from the added functionality offered by the newest version of the tool. Signed-off-by: Joeri Barbarien <joeri.barbarien@nokia.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot, linux, package: use SPDX short identifier for GPLv2/GPLv2+Rahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license strings as much as possible. SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+. This change is done by using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* spidev_test: fix musl buildBaruch Siach2016-08-171-0/+9
| | | | | | | | | | | | | | | | | | | | spidev.h needs _IOC_SIZEBITS. Add linux/ioctl.h for that to fix build under musl. The patch suggested upstream (https://patchwork.kernel.org/patch/9276909/) does not apply to the spidev_test.c version we currently use. A backported patch would break once we bump spidev_test.c. A bump+patch solution would break if/when upstream accepts this patch. That's why this commit uses the unusual sed patching to keep compatibility with current and future spidev_test.c versions. Fixes: http://autobuild.buildroot.net/results/128/1284a36c70ff8a1412e2128266c6654b2aa5b2da/ http://autobuild.buildroot.net/results/0ad/0adea6121b238adf0e64d455a7573b1a31c38264/ http://autobuild.buildroot.net/results/21b/21b92651ce456f3819eef315cecd92ff70b9e98f/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* spidev_test: add a hash fileVicente Olivert Riera2015-11-251-0/+3
| | | | | Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* spidev_test: new packageGustavo Zacarias2014-10-252-0/+50
[Thomas: instead of building spidev_test directly from the source in $(BR2_DL_DIR), use SPIDEV_TEST_EXTRACT_CMDS to copy the downloaded source to the build directory, and build it from here. Allows to manually tweak the source in the build directory for testing, allows to apply patches over the source if needed, etc.] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
OpenPOWER on IntegriCloud