Add the ability to filter which properties get imported when we do an
include. We add a new YAML form for this:
include:
- name: other.yaml
property-blocklist:
- prop-to-block
or
include:
- name: other.yaml
property-allowlist:
- prop-to-allow
These lists can intermix simple file names with maps, like:
include:
- foo.yaml
- name: bar.yaml
property-allowlist:
- prop-to-allow
And you can filter from child bindings like this:
include:
- name: bar.yaml
child-binding:
property-allowlist:
- child-prop-to-allow
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
8 lines
179 B
YAML
8 lines
179 B
YAML
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
description: An empty property-allowlist is valid.
|
|
compatible: empty-allowlist
|
|
include:
|
|
- name: include.yaml
|
|
property-allowlist: []
|