meta-yadro: add obmc-yadro-fwupdate package
fwupdate is a command line tool for update firmware.
Change-Id: I082e952e3ce68f74436e9a5f466dac738d90c763
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
diff --git a/conf/layer.conf b/conf/layer.conf
index 794ada8..09b216d 100644
--- a/conf/layer.conf
+++ b/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/recipes-phosphor/flash/obmc-yadro-fwupdate_git.bb b/recipes-phosphor/flash/obmc-yadro-fwupdate_git.bb
new file mode 100644
index 0000000..ae2f7c9
--- /dev/null
+++ b/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"