diff mbox series

meta/files/bitbake-setup.schema.json: correct bb-layers definitions

Message ID 20251107080056.2599873-1-alex.kanavin@gmail.com
State Accepted, archived
Commit b9d761c06350020e14e09c5bfa7b92eded43d889
Headers show
Series meta/files/bitbake-setup.schema.json: correct bb-layers definitions | expand

Commit Message

Alexander Kanavin Nov. 7, 2025, 8 a.m. UTC
From: Alexander Kanavin <alex@linutronix.de>

- rename bb-layers property to bb-layers-in-sources and adjust its description
- add bb-layers-in-this-dir property

The rationale is that both properties are relative to their
respective directories and that should be clear from their names
(without being too verbose).

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
 meta/files/bitbake-setup.schema.json | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/meta/files/bitbake-setup.schema.json b/meta/files/bitbake-setup.schema.json
index 5101b0de53e..72d56f8ad8d 100644
--- a/meta/files/bitbake-setup.schema.json
+++ b/meta/files/bitbake-setup.schema.json
@@ -37,9 +37,16 @@ 
                                 "type": "string",
                                 "description": "Human-readable description of the configuration"
                             },
-                            "bb-layers": {
+                            "bb-layers-in-sources": {
                                 "type": "array",
-                                "description": "List of BitBake layers to include",
+                                "description": "List of BitBake layer paths to include, relative to the sources checkout directory",
+                                "items": {
+                                    "type": "string"
+                                }
+                            },
+                            "bb-layers-in-this-dir": {
+                                "type": "array",
+                                "description": "List of BitBake layers paths to include, relative to the directory with the configuration file",
                                 "items": {
                                     "type": "string"
                                 }