kumquat-buildroot/package/spidev_test/Config.in
Peter Seiderer ac91235797 package/spidev_test: fix version depending on kernel headers version
Fixes:

  - http://autobuild.buildroot.net/results/a5c008aaff40f4851ffa36439c7340b6243a4842

  .../build/spidev_test-5.8/spidev_test.c:132:13: error: 'SPI_TX_OCTAL' undeclared (first use in this function); did you mean 'SPI_TX_DUAL'?
    132 |  if (mode & SPI_TX_OCTAL)
        |             ^~~~~~~~~~~~
        |             SPI_TX_DUAL

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2022-04-05 23:16:47 +02:00

18 lines
649 B
Plaintext

config BR2_PACKAGE_SPIDEV_TEST
bool "spidev_test"
help
SPI testing utility (using spidev driver).
This package builds and installs the userspace 'spidev_test'
command. It is up to the user to ensure that the kernel
configuration has all suitable options enabled to allow a
proper operation of 'spidev_test'.
The version used is based on your toolchain headers version,
if it's older than 3.15 then 3.0 is used, up to headers 5.7
version 4.10 is used and otherwise version 5.8.
This means you won't have quad-pumped SPI support if your
toolchain is too old.
https://www.kernel.org/doc/html/latest/spi/index.html