diff options
-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," |