summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Joseph <rushtotom@gmail.com>2021-06-15 17:12:34 +0300
committerPatrick Williams <patrick@stwcx.xyz>2021-06-22 15:10:51 +0300
commitf6785aa2549c329a5a09a19f33471c717267bf0b (patch)
treec95bdbbadea8911598dc28aea21aaa93ea538e05
parentfddf1c699406c32bc9487ce1507c55e487a84bfc (diff)
downloadopenbmc-f6785aa2549c329a5a09a19f33471c717267bf0b.tar.xz
pldm: Add function2 dependency
PLDM is adding infrastructure to register callbacks for the PLDM requester code. https://gerrit.openbmc-project.xyz/c/openbmc/pldm/+/43465 function2 is header only and already leveraged in sdeventplus and phosphor-ipmi-flash. function 2 provides move-only fu2::unique_function. Using function2 had an image size increase of 4K for PLDM daemon with build-type minsize. Signed-off-by: Tom Joseph <rushtotom@gmail.com> Change-Id: I427219b51cee7b29b7e62cc77d597143f21fcda0
-rw-r--r--meta-phosphor/recipes-phosphor/pldm/pldm_git.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-phosphor/pldm/pldm_git.bb b/meta-phosphor/recipes-phosphor/pldm/pldm_git.bb
index 1c07ad59d..44e42fbdb 100644
--- a/meta-phosphor/recipes-phosphor/pldm/pldm_git.bb
+++ b/meta-phosphor/recipes-phosphor/pldm/pldm_git.bb
@@ -8,6 +8,7 @@ inherit systemd
require pldm.inc
+DEPENDS += "function2"
DEPENDS += "systemd"
DEPENDS += "sdeventplus"
DEPENDS += "phosphor-dbus-interfaces"