summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-bsp/dediprog-flasher/dediprog-flasher_1.14.20.bb
blob: 83a88ab75f426ab6cfcf0eb1f35ac3343d71f9d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
DESCRIPTION = "Linux software for Dediprog SF100 and SF600 SPI flash programmers"
SECTION = "devel"
LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://LICENSE;md5=a23a74b3f4caf9616230789d94217acb"

DEPENDS = "libusb"

SRCREV = "e691f2d432144e3dbc82e9e0eea1ebaed4f3becf"
SRC_URI = " \
    git://github.com/DediProgSW/SF100Linux.git;protocol=https;branch=master \
    file://0001-add-support-for-cross-compilation.patch \
    file://0002-Makefile-add-conditional-stripping.patch \
    "

EXTRA_OEMAKE = "NOSTRIP=1"

PV = "1.0+${SRCPV}"

S = "${WORKDIR}/git"

do_install () {
    oe_runmake DESTDIR=${D} PREFIX=/usr install
}

FILES:${PN} += " \
    ${datadir}/DediProg \
"

inherit pkgconfig