aboutsummaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3-adas/recipes-bsp/spidev-dbg/spidev-dbg_1.0.bb
blob: 36aa562c9971a4aa1bcc90cb87d1e189d3c7580f (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 debug utility"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=26cdfe4d6a85afebc7ccd5623f195fa2"

S = "${WORKDIR}/spidev-dbg"

SRC_URI = " \
    file://spidev-dbg.tar.gz \
"

do_compile() {
    cd ${S}
    make all || die
}

do_install() {
    install -d ${D}${bindir}
    install -m 755 ${S}/spidev-dbg ${D}${bindir}
}

FILES_${PN} = "${bindir}/spidev-dbg"