diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2020-03-18 23:33:02 +0300 |
---|---|---|
committer | Andrew Geissler <geissonator@yahoo.com> | 2020-03-28 01:16:01 +0300 |
commit | 6d17b7b1da89afaeea72715254007fd55660e107 (patch) | |
tree | 6b00b57f202f6ed14c1b344a3052f74471f86a42 /meta-phosphor/recipes-phosphor/configuration | |
parent | f3a5ec72c94ca56d16e5f2a730f2bb1547a6f7a0 (diff) | |
download | openbmc-6d17b7b1da89afaeea72715254007fd55660e107.tar.xz |
meta-phosphor: fru-device add predicate
Predicate building fru-device on distro support for IPMI FRU.
(From meta-phosphor rev: 6281b85d413845e2dee6279d3812299740e1a756)
Change-Id: I18ae3650624a05aed781cf84856fac0b18460d3b
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-phosphor/recipes-phosphor/configuration')
-rw-r--r-- | meta-phosphor/recipes-phosphor/configuration/entity-manager_git.bb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta-phosphor/recipes-phosphor/configuration/entity-manager_git.bb b/meta-phosphor/recipes-phosphor/configuration/entity-manager_git.bb index 8660db7ca..140b8cb65 100644 --- a/meta-phosphor/recipes-phosphor/configuration/entity-manager_git.bb +++ b/meta-phosphor/recipes-phosphor/configuration/entity-manager_git.bb @@ -10,13 +10,15 @@ LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENCE;md5=a6a4edad4aed50f39a66d098d74b265b" SYSTEMD_SERVICE_${PN} = "xyz.openbmc_project.EntityManager.service \ - xyz.openbmc_project.FruDevice.service" + ${@bb.utils.contains('DISTRO_FEATURES', 'ipmi-fru', 'xyz.openbmc_project.FruDevice.service', '', d)}" DEPENDS = "boost \ - i2c-tools \ nlohmann-json \ sdbusplus \ valijson" S = "${WORKDIR}/git/" inherit meson systemd + +PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipmi-fru', d)}" +PACKAGECONFIG[ipmi-fru] = "-Dfru-device=true, -Dfru-device=false, i2c-tools," |