diff options
author | Jayanth Othayoth <ojayanth@in.ibm.com> | 2021-06-21 15:20:21 +0300 |
---|---|---|
committer | Jayanth Othayoth <ojayanth@in.ibm.com> | 2021-06-30 16:34:30 +0300 |
commit | 7ebc36e55e7d535b290a712a919850b0bb150027 (patch) | |
tree | 3690ca5a2e6137cf040a3053d382d7680beed623 /meta-openpower/recipes-bsp/ekb/ekb_git.bb | |
parent | 5f4cffd8646ef3e5c65043f38fe79df38b92f448 (diff) | |
download | openbmc-7ebc36e55e7d535b290a712a919850b0bb150027.tar.xz |
meta-openpower: Add ekb support
Hardware procedures(HWP) are C++ code that does all of the
hardware accesses required to test and initialize the
POWER based host hardware. Also provides the xml files,
which includes initialisation data. These procedures and xml
files are provided by the hardware team.
This commits enables the POWER based devicetree build,
to add support for the required HWP attributes xml file
with respective directory structures.
Repository : https://github.com/open-power/pub-ekb
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: I216fa41f8994562f24adcea9b349494fa3db70e9
Diffstat (limited to 'meta-openpower/recipes-bsp/ekb/ekb_git.bb')
-rw-r--r-- | meta-openpower/recipes-bsp/ekb/ekb_git.bb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/meta-openpower/recipes-bsp/ekb/ekb_git.bb b/meta-openpower/recipes-bsp/ekb/ekb_git.bb new file mode 100644 index 0000000000..4ecf1f8d33 --- /dev/null +++ b/meta-openpower/recipes-bsp/ekb/ekb_git.bb @@ -0,0 +1,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}) +} |