blob: e0041b58e6cc130c8f3f5d25f7e9049505080d74 (
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
30
31
32
33
34
35
36
37
38
|
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 DESTDIR=${D} PREFIX=${prefix}"
PV = "1.0+${SRCPV}"
do_install() {
oe_runmake install
}
do_install:append:class-nativesdk() {
# QA override: omit packaging dediprog's udev rule under /etc/udev.
# The file resides outside the nativesdk ${prefix} and must not pollute the
# host environment.
rm -rf ${D}/etc
}
FILES:${PN} += " \
${bindir} \
${datadir}/DediProg \
"
inherit pkgconfig
BBCLASSEXTEND += " native nativesdk"
|