diff options
Diffstat (limited to 'meta-phosphor/recipes-phosphor/network/phosphor-network_git.bb')
-rw-r--r-- | meta-phosphor/recipes-phosphor/network/phosphor-network_git.bb | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/meta-phosphor/recipes-phosphor/network/phosphor-network_git.bb b/meta-phosphor/recipes-phosphor/network/phosphor-network_git.bb index 2e3ae36353..77d0c3fca6 100644 --- a/meta-phosphor/recipes-phosphor/network/phosphor-network_git.bb +++ b/meta-phosphor/recipes-phosphor/network/phosphor-network_git.bb @@ -1,18 +1,8 @@ SUMMARY = "Network DBUS object" DESCRIPTION = "Network DBUS object" HOMEPAGE = "http://github.com/openbmc/phosphor-networkd" -PR = "r1" -PV = "1.0+git${SRCPV}" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=fa818a259cbed7ce8bc2a22d35a464fc" - -inherit meson pkgconfig -inherit python3native -inherit systemd - -SRC_URI += "git://github.com/openbmc/phosphor-networkd;branch=master;protocol=https" -SRCREV = "61ef4f2b0c1336c78f28252a17f172957ea4c3e7" - DEPENDS += "systemd" DEPENDS += "sdbusplus ${PYTHON_PN}-sdbus++-native" DEPENDS += "sdeventplus" @@ -20,10 +10,8 @@ DEPENDS += "phosphor-dbus-interfaces" DEPENDS += "phosphor-logging" DEPENDS += "libnl" DEPENDS += "stdplus" - +SRCREV = "61ef4f2b0c1336c78f28252a17f172957ea4c3e7" PACKAGECONFIG ??= "uboot-env default-link-local-autoconf default-ipv6-accept-ra persist-mac" - -UBOOT_ENV_RDEPENDS = "${@d.getVar('PREFERRED_PROVIDER_u-boot-fw-utils', True) or 'u-boot-fw-utils'}" PACKAGECONFIG[uboot-env] = "-Duboot-env=true,-Duboot-env=false,,${UBOOT_ENV_RDEPENDS}" PACKAGECONFIG[default-link-local-autoconf] = "-Ddefault-link-local-autoconf=true,-Ddefault-link-local-autoconf=false,," PACKAGECONFIG[default-ipv6-accept-ra] = "-Ddefault-ipv6-accept-ra=true,-Ddefault-ipv6-accept-ra=false,," @@ -31,13 +19,22 @@ PACKAGECONFIG[nic-ethtool] = "-Dnic-ethtool=true,-Dnic-ethtool=false,," PACKAGECONFIG[sync-mac] = "-Dsync-mac=true,-Dsync-mac=false,nlohmann-json," PACKAGECONFIG[hyp-nw-config] = "-Dhyp-nw-config=true, -Dhyp-nw-config=false,," PACKAGECONFIG[persist-mac] = "-Dpersist-mac=true, -persist-mac=false,," +PV = "1.0+git${SRCPV}" +PR = "r1" -S = "${WORKDIR}/git" - -FILES:${PN} += "${datadir}/dbus-1/system.d" +SRC_URI += "git://github.com/openbmc/phosphor-networkd;branch=master;protocol=https" +S = "${WORKDIR}/git" SYSTEMD_PACKAGES = "${PN}" SYSTEMD_SERVICE:${PN} += "xyz.openbmc_project.Network.service" SYSTEMD_SERVICE:${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'hyp-nw-config', 'xyz.openbmc_project.Network.Hypervisor.service', '', d)}" +inherit meson pkgconfig +inherit python3native +inherit systemd + EXTRA_OEMESON:append = " -Dtests=disabled" + +FILES:${PN} += "${datadir}/dbus-1/system.d" + +UBOOT_ENV_RDEPENDS = "${@d.getVar('PREFERRED_PROVIDER_u-boot-fw-utils', True) or 'u-boot-fw-utils'}" |