summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam A. Kennington III <wak@google.com>2021-05-18 01:10:50 +0300
committerWilliam A. Kennington III <wak@google.com>2021-05-18 23:17:34 +0300
commit08980c00aa98dd7a52e625f172882eece93b3c50 (patch)
treed39150c37ca63c82edf6367a407e98c74a640db3
parent2c4f2cf6b7e6860bdf024da8fdf998b97c66c39b (diff)
downloadopenbmc-2.11.0-dev.tar.xz
phosphor-networkd: Add PACKAGECONFIG for all options2.11.0-dev
We want a build system agnostic way for all platforms to specify their options. Change-Id: I005492da7907c0714a1d32ec932cf488493a49a3 Signed-off-by: William A. Kennington III <wak@google.com>
-rw-r--r--meta-phosphor/recipes-phosphor/network/phosphor-network_git.bb6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta-phosphor/recipes-phosphor/network/phosphor-network_git.bb b/meta-phosphor/recipes-phosphor/network/phosphor-network_git.bb
index 3993ff7ce3..5956489249 100644
--- a/meta-phosphor/recipes-phosphor/network/phosphor-network_git.bb
+++ b/meta-phosphor/recipes-phosphor/network/phosphor-network_git.bb
@@ -23,10 +23,14 @@ DEPENDS += "libnl"
DEPENDS += "stdplus"
DEPENDS += "nlohmann-json"
-PACKAGECONFIG ??= "uboot-env"
+PACKAGECONFIG ??= "uboot-env default-link-local-autoconf default-ipv6-accept-ra"
UBOOT_ENV_RDEPENDS = "${@d.getVar('PREFERRED_PROVIDER_u-boot-fw-utils', True) or 'u-boot-fw-utils'}"
PACKAGECONFIG[uboot-env] = "--with-uboot-env,--without-uboot-env,,${UBOOT_ENV_RDEPENDS}"
+PACKAGECONFIG[default-link-local-autoconf] = "--enable-link-local-autoconfiguration,--disable-link-local-autoconfiguration,,"
+PACKAGECONFIG[default-ipv6-accept-ra] = "--enable-ipv6-accept-ra,--disable-ipv6-accept-ra,,"
+PACKAGECONFIG[nic-ethtool] = "--enable-nic-ethtool,--disable-nic-ethtool,,"
+PACKAGECONFIG[sync-mac] = "--enable-sync-mac,--disable-sync-mac,,"
S = "${WORKDIR}/git"