No subject

Thu Jun 25 05:52:11 EDT 2020

    commit 35386dfd13b7
    Author: Geert Uytterhoeven <a class="moz-txt-link-rfc2396E" href="mailto:geert+renesas at"><geert+renesas at></a>
    Date:   Mon Sep 3 19:33:23 2018 +0200

Signed-off-by: Jeff Kletsky <a class="moz-txt-link-rfc2396E" href="mailto:git-commits at"><git-commits at></a>
      <pre class="moz-quote-pre" wrap="">
Hm, this got me thinking. Because we could also just do what the perf
package does and built the spidev_test from the device's linux kernel
source and ship it. This would also entail that we don't need to ship
the spidev_test.c in package/utils/spidev_test/src anymore. What do you


diff --git a/package/utils/spidev_test/Makefile b/package/utils/spidev_test/Makefile
index b7c5227f91..29c6a90dc8 100644
--- a/package/utils/spidev_test/Makefile
+++ b/package/utils/spidev_test/Makefile
@@ -10,13 +10,16 @@ include $(INCLUDE_DIR)/
 include $(INCLUDE_DIR)/
 define Package/spidev-test
-  DEPENDS:=+kmod-spi-dev
+  DEPENDS:=+kmod-spi-dev @!IN_SDK
   TITLE:=SPI testing utility
   URL:=<a class="moz-txt-link-freetext" href=""></a>
@@ -27,9 +30,26 @@ define Package/spidev-test/description
   SPI testing utility.
+define Build/Prepare
+	$(CP) $(LINUX_DIR)/tools/spi/* $(PKG_BUILD_DIR)/

    <pre>Sounds great to me!

It's one of those packages that probably only a couple people a year
need, but when they need it, they really need it. The way you proposed
means that it is as current as the Linux version in hand without further

I was going to say that it would be a couple days until I was back home
and able to look into it and test as I'm on travel, but it looks like 
you've already got things well in order. If you want to go ahead with 
your patch, I think it's a much better approach.




Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

openwrt-devel mailing list
openwrt-devel at


More information about the openwrt-devel mailing list