summaryrefslogtreecommitdiff
path: root/meta-openpower/recipes-bsp/ekb/ekb_git.bb
blob: 4ecf1f8d33a6cda2292068033377386515a7075d (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
SUMMARY     = "To get required hardware procedure attribute xml files"
DESCRIPTION = "Copy all the required hardware procedures attributes xml file \
with respective directory structures"

PR = "r1"
PV = "1.0+git${SRCPV}"
LICENSE     = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${S}/LICENSE_PROLOG;md5=d8e5f403c98fd80dcea90b9cc8cd083c"

require ekb.inc

SRC_URI = "${EKB_URI}"
SRCREV = "${EKB_REV}"

S = "${WORKDIR}/git"

BBCLASSEXTEND = "native"

do_install() {

    mkdir -p ${D}${datadir}/${BPN}

    # Copying all required hwp's attributes xml file with respective directory structures
    (cd ${S} && cp --parents ${REQ_ATTRS_XMLS} ${D}${datadir}/${BPN})
}