aboutsummaryrefslogtreecommitdiffstats
path: root/meta-hardening/conf/layer.conf
blob: 939396998b17a326ddcec308696f4a9d8d99fd8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# We have a conf and classes directory, add to BBPATH
BBPATH .= ":${LAYERDIR}"

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

BBFILE_COLLECTIONS += "harden-layer"
BBFILE_PATTERN_harden-layer = "^${LAYERDIR}/"
BBFILE_PRIORITY_harden-layer = "10"

LAYERSERIES_COMPAT_harden-layer = "dunfell"

LAYERDEPENDS_harden-layer = "core openembedded-layer"

#INHERIT += "distrooverrides"
#DISTRO_FEATURES_OVERRIDES += "harden"
DISTROOVERRIDES_append = "${@bb.utils.contains('DISTRO_FEATURES', 'harden', ':harden', '', d)}"