summaryrefslogtreecommitdiffstats
path: root/recipes-dpaa2/restool/restool_git.bb
blob: c5e02319f6e812560343598d7d96d889351a2619 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
SUMMARY = "DPAA2 Resource Manager Tool"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://COPYING;md5=ec8d84e9cd4de287e290275d09db27f0"

RDEPENDS_${PN} += "bash"

SRC_URI = "git://github.com/qoriq-open-source/restool.git;nobranch=1 \
    file://0001-restool-fix-build-error-with-gcc7.patch"

SRCREV = "87c3abe305d02a866404237773d4f736ab5247b2"

S = "${WORKDIR}/git"

EXTRA_OEMAKE = 'CC="${CC}" EXTRA_CFLAGS="-Wno-missing-field-initializers -Wno-missing-braces"'

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

COMPATIBLE_MACHINE = "(ls2080ardb|ls2088ardb|ls1088ardb)"
PACKAGE_ARCH = "${MACHINE_ARCH}"