summaryrefslogtreecommitdiff
path: root/meta-raspberrypi/recipes-devtools/raspi-utils/raspi-utils_git.bb
blob: 77ff2c366eb0c33dd628e7a80f7b45623857cf79 (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
SUMMARY = "A collection of scripts and simple applications"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENCE;md5=4c01239e5c3a3d133858dedacdbca63c"

RCONFLICTS:${PN} = "userland"
DEPENDS:append = " dtc"
PACKAGES =+ " ${PN}-raspinfo"
PACKAGES =+ " ${PN}-ovmerge"
RDEPENDS:${PN}-raspinfo += " bash"
RDEPENDS:${PN}-ovmerge += " perl"

PV = "1.0+git"

SRC_URI = "git://github.com/raspberrypi/utils;protocol=https;branch=master"

SRCREV = "b9c63214c535d7df2b0fa6743b7b3e508363c25a"

S = "${WORKDIR}/git"

FILES:${PN}:append = " \
    ${datadir}/bash-completion/completions/pinctrl \
    ${datadir}/bash-completion/completions/vcgencmd \
"
FILES:${PN}-raspinfo += "${bindir}/raspinfo"
FILES:${PN}-ovmerge += "${bindir}/ovmerge"

OECMAKE_TARGET_COMPILE = "\
    dtmerge/all \
    eeptools/all \
    otpset/all \
    overlaycheck/all \
    ovmerge/all \
    pinctrl/all \
    raspinfo/all \
    vcgencmd/all \
    vclog/all \
    vcmailbox/all \
"

OECMAKE_TARGET_INSTALL = "\
    dtmerge/install \
    eeptools/install \
    otpset/install \
    overlaycheck/install \
    ovmerge/install \
    pinctrl/install \
    raspinfo/install \
    vcgencmd/install \
    vclog/install \
    vcmailbox/install \
"

inherit cmake