From 2a2102cc6e6ffe670cc5191da8d6e6af39c705b4 Mon Sep 17 00:00:00 2001 From: Alexander Filippov Date: Fri, 17 Apr 2020 19:52:43 +0300 Subject: meta-yadro: add obmc-yadro-fwupdate package fwupdate is a command line tool for update firmware. (From meta-yadro rev: 2c9c5dfb227f695d50a8f3c950b1c0a8d3837fa5) Change-Id: I64633572b45a4793ee0a41a571c4e251ba221317 Signed-off-by: Alexander Filippov Signed-off-by: Andrew Geissler --- meta-yadro/conf/layer.conf | 4 ++++ .../flash/obmc-yadro-fwupdate_git.bb | 22 ++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 meta-yadro/recipes-phosphor/flash/obmc-yadro-fwupdate_git.bb (limited to 'meta-yadro') diff --git a/meta-yadro/conf/layer.conf b/meta-yadro/conf/layer.conf index 794ada888b..09b216d95a 100644 --- a/meta-yadro/conf/layer.conf +++ b/meta-yadro/conf/layer.conf @@ -1,6 +1,10 @@ # We have a conf and classes directory, add to BBPATH BBPATH .= ":${LAYERDIR}" +# We have recipes-* directories, add to BBFILES +BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ + ${LAYERDIR}/recipes-*/*/*.bbappend" + BBFILE_COLLECTIONS += "yadro-layer" BBFILE_PATTERN_yadro-layer = "^${LAYERDIR}/" BBFILE_PATTERN_IGNORE_EMPTY_yadro-layer = "1" diff --git a/meta-yadro/recipes-phosphor/flash/obmc-yadro-fwupdate_git.bb b/meta-yadro/recipes-phosphor/flash/obmc-yadro-fwupdate_git.bb new file mode 100644 index 0000000000..ae2f7c97ab --- /dev/null +++ b/meta-yadro/recipes-phosphor/flash/obmc-yadro-fwupdate_git.bb @@ -0,0 +1,22 @@ +SUMMARY = "YADRO Firmware update tool" +DESCRIPTION = "Command line tool for update firmware" +HOMEPAGE = "https://github.com/YADRO-KNS/obmc-yadro-fwupdate" +PR = "r1" +PV = "1.0+git${SRCPV}" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" + +inherit meson + +DEPENDS += " \ + sdbusplus \ + openssl \ +" + +EXTRA_OEMESON_df-openpower = " \ + -Dopenpower-support=true \ +" + +SRC_URI = "git://github.com/YADRO-KNS/obmc-yadro-fwupdate" +SRCREV = "b922eb474447b76fb72cc615c025e3845b7c4b7e" +S = "${WORKDIR}/git" -- cgit v1.2.3