# We have a conf and classes directory, add to BBPATH
BBPATH .= ":${LAYERDIR}"

# We have a packages directory, add to BBFILES
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
            ${LAYERDIR}/recipes-*/*/*.bbappend"

BBFILE_COLLECTIONS += "networking-layer"
BBFILE_PATTERN_networking-layer := "^${LAYERDIR}/"
BBFILE_PRIORITY_networking-layer = "5"

# This should only be incremented on significant changes that will
# cause compatibility issues with other layers
LAYERVERSION_networking-layer = "1"

LAYERDEPENDS_networking-layer = "core meta-python openembedded-layer"

LAYERSERIES_COMPAT_networking-layer = "walnascar whinlatter"

LICENSE_PATH += "${LAYERDIR}/licenses"

SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \
  wireguard-tools->wireguard-module \
  mdio-tools->mdio-netlink \
  ot-br-posix->ipset \
"
BBFILES_DYNAMIC += " \
    meta-python:${LAYERDIR}/dynamic-layers/meta-python/recipes-*/*/*.bb \
"

# List of known non-reproducible package of the meta-networking layer
# Please keep this list sorted
OEQA_REPRODUCIBLE_EXCLUDED_PACKAGES += " \
    babeld \
    babeld-dbg \
    dhcp-relay-staticdev \
    ettercap-src \
    freediameter \
    freeradius \
    htpdate-doc \
    libbearssl-staticdev \
    libmosquitto1 \
    libowfat-staticdev \
    libruli-staticdev \
    mosquitto \
    ncftp \
    ncp \
    ncp-dbg \
    ndisc6-dbg \
    ndisc6-misc \
    ndisc6-ndisc6 \
    ndisc6-rdisc6 \
    ndisc6-rdnssd \
    ndisc6-rltraceroute6 \
    netsniff-ng-doc \
    ntopng \
    ntopng-dbg \
    ntpsec-src \
    openl2tp \
    opensaf \
    phytool \
    phytool-dbg \
    postfix-cfg \
    rp-pppoe \
    traceroute \
    traceroute-dbg \
    udpcast-doc \
    unbound-doc \
    znc \
"
