summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta-yadro/conf/layer.conf4
-rw-r--r--meta-yadro/recipes-phosphor/flash/obmc-yadro-fwupdate_git.bb22
2 files changed, 26 insertions, 0 deletions
diff --git a/meta-yadro/conf/layer.conf b/meta-yadro/conf/layer.conf
index 794ada888..09b216d95 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 000000000..ae2f7c97a
--- /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"