aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-devtools/cst/cst_git.bb
blob: dc0ae5e8c8a7062ea579b930384d3539ee16874b (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
SUMMARY = "utility for security boot"
SECTION = "cst"
LICENSE = "BSD"

LIC_FILES_CHKSUM = "file://COPYING;md5=e959d5d617e33779d0e90ce1d9043eff"

DEPENDS += "openssl"
RDEPENDS_${PN} = "bash"

inherit kernel-arch

SRC_URI = "git://github.com/qoriq-open-source/cst.git;nobranch=1 \
    file://0001-gen_otpmk_drbg-fails-compilation-due-to-uninitialize.patch \
"
SRCREV = "1afb40c13097fc9e8a641aa5d0420498fea01c65"

S = "${WORKDIR}/git"

EXTRA_OEMAKE = 'CC="${CC}" LD="${CC}"'

PARALLEL_MAKE = ""

do_install () {
    oe_runmake install DESTDIR=${D} BIN_DEST_DIR=${bindir}
}

FILES_${PN}-dbg += "${bindir}/cst/.debug"
BBCLASSEXTEND = "native nativesdk"