summaryrefslogtreecommitdiffstats
path: root/meta/classes/distrooverrides.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/distrooverrides.bbclass')
-rw-r--r--meta/classes/distrooverrides.bbclass12
1 files changed, 9 insertions, 3 deletions
diff --git a/meta/classes/distrooverrides.bbclass b/meta/classes/distrooverrides.bbclass
index 9f4db0d771..8d9d7cda7d 100644
--- a/meta/classes/distrooverrides.bbclass
+++ b/meta/classes/distrooverrides.bbclass
@@ -1,3 +1,9 @@
1#
2# Copyright OpenEmbedded Contributors
3#
4# SPDX-License-Identifier: MIT
5#
6
1# Turns certain DISTRO_FEATURES into overrides with the same 7# Turns certain DISTRO_FEATURES into overrides with the same
2# name plus a df- prefix. Ensures that these special 8# name plus a df- prefix. Ensures that these special
3# distro features remain set also for native and nativesdk 9# distro features remain set also for native and nativesdk
@@ -6,7 +12,7 @@
6# This makes it simpler to write .bbappends that only change the 12# This makes it simpler to write .bbappends that only change the
7# task signatures of the recipe if the change is really enabled, 13# task signatures of the recipe if the change is really enabled,
8# for example with: 14# for example with:
9# do_install_append_df-my-feature () { ... } 15# do_install:append:df-my-feature () { ... }
10# where "my-feature" is a DISTRO_FEATURE. 16# where "my-feature" is a DISTRO_FEATURE.
11# 17#
12# The class is meant to be used in a layer.conf or distro 18# The class is meant to be used in a layer.conf or distro
@@ -22,8 +28,8 @@ DISTRO_FEATURES_OVERRIDES ?= ""
22DISTRO_FEATURES_OVERRIDES[doc] = "A space-separated list of <feature> entries. \ 28DISTRO_FEATURES_OVERRIDES[doc] = "A space-separated list of <feature> entries. \
23Each entry is added to OVERRIDES as df-<feature> if <feature> is in DISTRO_FEATURES." 29Each entry is added to OVERRIDES as df-<feature> if <feature> is in DISTRO_FEATURES."
24 30
25DISTRO_FEATURES_FILTER_NATIVE_append = " ${DISTRO_FEATURES_OVERRIDES}" 31DISTRO_FEATURES_FILTER_NATIVE:append = " ${DISTRO_FEATURES_OVERRIDES}"
26DISTRO_FEATURES_FILTER_NATIVESDK_append = " ${DISTRO_FEATURES_OVERRIDES}" 32DISTRO_FEATURES_FILTER_NATIVESDK:append = " ${DISTRO_FEATURES_OVERRIDES}"
27 33
28# If DISTRO_FEATURES_OVERRIDES or DISTRO_FEATURES show up in a task 34# If DISTRO_FEATURES_OVERRIDES or DISTRO_FEATURES show up in a task
29# signature because of this line, then the task dependency on 35# signature because of this line, then the task dependency on