summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-rcar-gen3-adas/conf/layer.conf4
-rw-r--r--meta-rcar-gen3-adas/recipes-bsp/spidev-test/files/spidev-test.tar.gzbin0 -> 6242 bytes
-rw-r--r--meta-rcar-gen3-adas/recipes-bsp/spidev-test/spidev-test_1.0.bb21
3 files changed, 23 insertions, 2 deletions
diff --git a/meta-rcar-gen3-adas/conf/layer.conf b/meta-rcar-gen3-adas/conf/layer.conf
index 655b66b..c164ddb 100644
--- a/meta-rcar-gen3-adas/conf/layer.conf
+++ b/meta-rcar-gen3-adas/conf/layer.conf
@@ -18,7 +18,7 @@ IMAGE_INSTALL_append_rcar-gen3 = " \
can-utils \
libsocketcan \
iproute2 \
- spidev-dbg \
+ spidev-dbg spidev-test \
e2fsprogs \
e2fsprogs-tune2fs \
ethtool \
@@ -96,6 +96,6 @@ DISTRO_FEATURES_append = " pulseaudio"
IMAGE_INSTALL_remove = "gtk+3-demo clutter-1.0-examples"
-EXTRA_IMAGE_FEATURES_append_rcar-gen3 = " eclipse-debug ssh-server-openssh"
+EXTRA_IMAGE_FEATURES_append_rcar-gen3 = " eclipse-debug"
PREFERRED_VERSION_opencv = "2.4%"
diff --git a/meta-rcar-gen3-adas/recipes-bsp/spidev-test/files/spidev-test.tar.gz b/meta-rcar-gen3-adas/recipes-bsp/spidev-test/files/spidev-test.tar.gz
new file mode 100644
index 0000000..afa5f1a
--- /dev/null
+++ b/meta-rcar-gen3-adas/recipes-bsp/spidev-test/files/spidev-test.tar.gz
Binary files differ
diff --git a/meta-rcar-gen3-adas/recipes-bsp/spidev-test/spidev-test_1.0.bb b/meta-rcar-gen3-adas/recipes-bsp/spidev-test/spidev-test_1.0.bb
new file mode 100644
index 0000000..06d39b6
--- /dev/null
+++ b/meta-rcar-gen3-adas/recipes-bsp/spidev-test/spidev-test_1.0.bb
@@ -0,0 +1,21 @@
+SUMMARY = "SPI device test utility"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=d47c37512bd65656e8f130581ee80783"
+
+S = "${WORKDIR}/spidev-test"
+
+SRC_URI = " \
+ file://spidev-test.tar.gz \
+"
+
+do_compile() {
+ cd ${S}
+ make all || die
+}
+
+do_install() {
+ install -d ${D}${bindir}
+ install -m 755 ${S}/spidev_test ${D}${bindir}
+}
+
+FILES_${PN} = "${bindir}/spidev_test"