summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVladimir Barinov <vladimir.barinov@cogentembedded.com>2018-01-23 12:00:55 +0300
committerVladimir Barinov <vladimir.barinov@cogentembedded.com>2018-01-23 12:00:55 +0300
commit5e4254af7d0345fe8b3bd5b786dbfa5f710e5d3e (patch)
tree6c839f554b8bd71ce099930ce2b510a5afcb17e7
parent83b60a502e76627fd2e69263405f516334386e1d (diff)
Pakcages: remove ssh-server-openssh, add spidev_test
1) revert ssh-server-openssh isnce conflicts with dropbear 2) add spidev_test
-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"