scripts: snippets: add DTS_EXTRA_CPPFLAGS support

Add an additional option to the `append` schema for appending to the
`DTS_EXTRA_CPPFLAGS` cmake cache variable, enabling finer control over
the content of devicetree files.

Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
This commit is contained in:
Jordan Yates 2023-07-08 20:28:37 +10:00 committed by Carles Cufí
commit fe498ada60
4 changed files with 21 additions and 0 deletions

View file

@ -13,6 +13,8 @@ schema;append-schema:
type: str
EXTRA_CONF_FILE:
type: str
DTS_EXTRA_CPPFLAGS:
type: str
type: map
mapping: