aboutsummaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3-adas/recipes-bsp/spidev-test/spidev-test_1.0.bb
blob: 06d39b6105ac9b09fef6a26cb91527f58c5e3aa5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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"