Adriana Kobylak | 30ca4fc | 2016-01-30 10:41:48 -0600 | [diff] [blame] | 1 | SUMMARY = "Network DBUS object" |
| 2 | DESCRIPTION = "Network DBUS object" |
| 3 | HOMEPAGE = "http://github.com/openbmc/phosphor-networkd" |
Brad Bishop | 75f0387 | 2018-11-03 09:41:57 -0700 | [diff] [blame] | 4 | LICENSE = "Apache-2.0" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=fa818a259cbed7ce8bc2a22d35a464fc" |
Matthew Barth | 0c9d4d2 | 2016-10-24 12:51:20 -0500 | [diff] [blame] | 6 | DEPENDS += "systemd" |
Patrick Williams | 4b32c9a | 2020-03-31 16:43:15 -0500 | [diff] [blame] | 7 | DEPENDS += "sdbusplus ${PYTHON_PN}-sdbus++-native" |
Adriana Kobylak | 1b7cb12 | 2018-10-01 14:02:44 -0500 | [diff] [blame] | 8 | DEPENDS += "sdeventplus" |
Patrick Williams | ce14ef6 | 2020-06-09 21:00:08 -0500 | [diff] [blame] | 9 | DEPENDS += "phosphor-dbus-interfaces" |
Ratan Gupta | 153a6dc | 2017-04-28 10:12:54 +0530 | [diff] [blame] | 10 | DEPENDS += "phosphor-logging" |
Ratan Gupta | 7a5340b | 2018-03-20 15:26:20 +0530 | [diff] [blame] | 11 | DEPENDS += "libnl" |
William A. Kennington III | d278145 | 2020-06-14 02:59:44 -0700 | [diff] [blame] | 12 | DEPENDS += "stdplus" |
Andrew Geissler | e713a6f | 2023-01-24 17:30:18 -0600 | [diff] [blame] | 13 | SRCREV = "a307b1162f03aa4fc379a2fb8a502f873ccc1b51" |
Jiaqing Zhao | 124fdf3 | 2022-07-15 09:27:00 +0800 | [diff] [blame] | 14 | PACKAGECONFIG ??= "uboot-env default-link-local-autoconf default-ipv6-accept-ra persist-mac" |
William A. Kennington III | ef047e2 | 2021-05-18 13:56:14 -0700 | [diff] [blame] | 15 | PACKAGECONFIG[uboot-env] = "-Duboot-env=true,-Duboot-env=false,,${UBOOT_ENV_RDEPENDS}" |
| 16 | PACKAGECONFIG[default-link-local-autoconf] = "-Ddefault-link-local-autoconf=true,-Ddefault-link-local-autoconf=false,," |
| 17 | PACKAGECONFIG[default-ipv6-accept-ra] = "-Ddefault-ipv6-accept-ra=true,-Ddefault-ipv6-accept-ra=false,," |
William A. Kennington III | ef047e2 | 2021-05-18 13:56:14 -0700 | [diff] [blame] | 18 | PACKAGECONFIG[sync-mac] = "-Dsync-mac=true,-Dsync-mac=false,nlohmann-json," |
Asmitha Karunanithi | 6ccf04f | 2021-07-23 07:40:13 -0500 | [diff] [blame] | 19 | PACKAGECONFIG[hyp-nw-config] = "-Dhyp-nw-config=true, -Dhyp-nw-config=false,," |
Jiaqing Zhao | 124fdf3 | 2022-07-15 09:27:00 +0800 | [diff] [blame] | 20 | PACKAGECONFIG[persist-mac] = "-Dpersist-mac=true, -persist-mac=false,," |
Ed Tanous | 9936f86 | 2022-09-19 09:13:20 -0700 | [diff] [blame] | 21 | PV = "1.0+git${SRCPV}" |
| 22 | PR = "r1" |
| 23 | |
| 24 | SRC_URI += "git://github.com/openbmc/phosphor-networkd;branch=master;protocol=https" |
Benjamin Fair | e46e4c1 | 2020-04-15 16:27:18 -0700 | [diff] [blame] | 25 | |
Adriana Kobylak | 30ca4fc | 2016-01-30 10:41:48 -0600 | [diff] [blame] | 26 | S = "${WORKDIR}/git" |
William A. Kennington III | ef047e2 | 2021-05-18 13:56:14 -0700 | [diff] [blame] | 27 | SYSTEMD_PACKAGES = "${PN}" |
Patrick Williams | 12fc939 | 2021-08-06 09:16:53 -0500 | [diff] [blame] | 28 | SYSTEMD_SERVICE:${PN} += "xyz.openbmc_project.Network.service" |
Asmitha Karunanithi | 6ccf04f | 2021-07-23 07:40:13 -0500 | [diff] [blame] | 29 | SYSTEMD_SERVICE:${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'hyp-nw-config', 'xyz.openbmc_project.Network.Hypervisor.service', '', d)}" |
William A. Kennington III | 2b38d3f | 2021-05-29 15:11:03 -0700 | [diff] [blame] | 30 | |
Ed Tanous | 9936f86 | 2022-09-19 09:13:20 -0700 | [diff] [blame] | 31 | inherit meson pkgconfig |
| 32 | inherit python3native |
| 33 | inherit systemd |
| 34 | |
Patrick Williams | ed104d4 | 2021-08-31 13:19:27 -0500 | [diff] [blame] | 35 | EXTRA_OEMESON:append = " -Dtests=disabled" |
Ed Tanous | 9936f86 | 2022-09-19 09:13:20 -0700 | [diff] [blame] | 36 | |
| 37 | FILES:${PN} += "${datadir}/dbus-1/system.d" |
Andrew Geissler | a11bc50 | 2022-11-08 02:50:58 -0600 | [diff] [blame] | 38 | FILES:${PN} += "${systemd_unitdir}/network/60-phosphor-networkd-default.network" |
Ed Tanous | 9936f86 | 2022-09-19 09:13:20 -0700 | [diff] [blame] | 39 | |
| 40 | UBOOT_ENV_RDEPENDS = "${@d.getVar('PREFERRED_PROVIDER_u-boot-fw-utils', True) or 'u-boot-fw-utils'}" |