utils/spidev_test: build package directly from Linux
authorChristian Lamparter <chunkeey@gmail.com>
Fri, 10 May 2019 21:31:01 +0000 (23:31 +0200)
committerChristian Lamparter <chunkeey@gmail.com>
Sat, 11 May 2019 14:37:11 +0000 (16:37 +0200)
commitbdaaf66e28bd45837e420ac2300df108091ec97a
treeb0a2f49543c960f6dc086736cc0bc9e7a26b912a
parentd8ec6dee49cb1389c2babdbb0bdb9e14d2bbe899
utils/spidev_test: build package directly from Linux

Jeff Kletsky noted in his patch titled:
"utils/spidev_test: Update to current source from upstream Linux"
that the spidev_test utility OpenWrt ships is severly out of date.

Instead of updating the spidev_test.c from the current kernel,
this patch replaces the package building code to utilize the
very file that gets shipped with the kernel we compiling for
anyway much like the "perf" package already does.

Reported-by: Jeff Kletsky <git-commits@allycomm.com>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
package/utils/spidev_test/Makefile
package/utils/spidev_test/src/spidev_test.c [deleted file]