forked from ibm-openbmc/openbmc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
meta-ibm: Add hostfw image support (ibm-openbmc#214)
Add support for a hostfw image. Change-Id: I1b4be263b0eb44c324db4f41ea563fdf2a8ad8b5 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
- Loading branch information
Showing
4 changed files
with
904 additions
and
0 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
meta-ibm/recipes-phosphor/flash/phosphor-hostfw-image.bbappend
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" | ||
|
||
HOST_FW_LICENSE = "Proprietary" | ||
|
||
VERSION:p10bmc ?= "1020.2220.20220514a" | ||
|
||
SRC_URI:append:p10bmc = " file://host-fw-elements_lids.json" | ||
SRC_URI:append:p10bmc = " file://image-hostfw-${VERSION}" | ||
|
||
FILES:${PN}:append:p10bmc = " ${datadir}/hostfw/elements.json" | ||
|
||
S = "${WORKDIR}" | ||
B = "${WORKDIR}/build" | ||
|
||
do_compile:append() { | ||
install -m 0440 ${S}/image-hostfw-${VERSION} ${B}/image/hostfw-a | ||
install -m 0440 ${S}/image-hostfw-${VERSION} ${B}/image/hostfw-b | ||
install -m 0440 ${S}/image-hostfw-${VERSION} ${B}/update/image-hostfw | ||
} | ||
|
||
do_install:append:p10bmc() { | ||
install -d ${D}/${datadir}/hostfw | ||
install -m 0644 ${S}/host-fw-elements_lids.json ${D}/${datadir}/hostfw/elements.json | ||
} |
Oops, something went wrong.