diff options
Diffstat (limited to 'meta-rcar-gen3-adas/recipes-bsp/spidev-test')
-rw-r--r-- | meta-rcar-gen3-adas/recipes-bsp/spidev-test/files/spidev-test.tar.gz | bin | 0 -> 6242 bytes | |||
-rw-r--r-- | meta-rcar-gen3-adas/recipes-bsp/spidev-test/spidev-test_1.0.bb | 21 |
2 files changed, 21 insertions, 0 deletions
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 Binary files differnew file mode 100644 index 0000000..afa5f1a --- /dev/null +++ b/meta-rcar-gen3-adas/recipes-bsp/spidev-test/files/spidev-test.tar.gz 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" |