blob: a4de745f988e855806ac13291aea0aeade8889a4 [file] [log] [blame]
Adriana Kobylak8f2f3b32016-01-30 10:41:48 -06001SUMMARY = "Network DBUS object"
2DESCRIPTION = "Network DBUS object"
3HOMEPAGE = "http://github.com/openbmc/phosphor-networkd"
4PR = "r1"
Patrick Venture64d7d982018-10-21 08:21:23 -07005PV = "1.0+git${SRCPV}"
Patrick Venture1cacad32018-11-03 09:43:33 -07006LICENSE = "Apache-2.0"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=fa818a259cbed7ce8bc2a22d35a464fc"
Adriana Kobylak8f2f3b32016-01-30 10:41:48 -06008
Matthew Barth2ece5742016-09-28 13:14:43 -05009inherit autotools pkgconfig
Patrick Williams395d34d2020-04-02 07:32:43 -050010inherit python3native
Patrick Williams5afacef2017-05-29 22:08:38 -050011inherit phosphor-networkd-rev
Patrick Venture58dbbcf2019-01-07 08:47:42 -080012inherit systemd
vishwab18b1332016-06-20 06:41:52 -050013
Ratan Guptab6de45c2017-07-06 21:09:14 +053014
Matthew Barth95cd1b22016-10-24 12:51:20 -050015DEPENDS += "systemd"
Matthew Barth2ece5742016-09-28 13:14:43 -050016DEPENDS += "autoconf-archive-native"
Patrick Williams2bebd122020-03-31 16:43:15 -050017DEPENDS += "sdbusplus ${PYTHON_PN}-sdbus++-native"
Adriana Kobylak129fc1c2018-10-01 14:02:44 -050018DEPENDS += "sdeventplus"
Ratan Gupta05787732017-04-28 10:12:54 +053019DEPENDS += "phosphor-dbus-interfaces phosphor-dbus-interfaces-native"
20DEPENDS += "phosphor-logging"
Ratan Gupta62f25ec2018-03-20 15:26:20 +053021DEPENDS += "libnl"
Ratan Gupta05787732017-04-28 10:12:54 +053022
Benjamin Fair62bd55d2020-04-15 16:27:18 -070023PACKAGECONFIG ??= "uboot-env"
24
25UBOOT_ENV_RDEPENDS = "${@d.getVar('PREFERRED_PROVIDER_u-boot-fw-utils', True) or 'u-boot-fw-utils'}"
26PACKAGECONFIG[uboot-env] = "--with-uboot-env,--without-uboot-env,,${UBOOT_ENV_RDEPENDS}"
27
Adriana Kobylak8f2f3b32016-01-30 10:41:48 -060028S = "${WORKDIR}/git"
Patrick Venture58dbbcf2019-01-07 08:47:42 -080029
30SERVICE_FILE = "xyz.openbmc_project.Network.service"
31SYSTEMD_PACKAGES = "${PN}"
32SYSTEMD_SERVICE_${PN} += "${SERVICE_FILE}"
Patrick Venture58dbbcf2019-01-07 08:47:42 -080033
34EXTRA_OECONF = " \
Patrick Ventured607cfb2019-04-04 12:15:22 -070035 SYSTEMD_TARGET="multi-user.target" \
Patrick Venture58dbbcf2019-01-07 08:47:42 -080036"