mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
- improve bb-layers property description - add bb-layers-file-relative property The rationale is that both properties are relative to their respective directories and that should be documented and clear from their names (without being too verbose). Based on a patch from Alexander Kanavin <alex@linutronix.de> but with updated naming. (From OE-Core rev: b9d761c06350020e14e09c5bfa7b92eded43d889) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
116 lines
5.0 KiB
JSON
116 lines
5.0 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"description": "Schema for bitbake-setup configuration files",
|
|
"type": "object",
|
|
"required": [
|
|
"description",
|
|
"bitbake-setup",
|
|
"version"
|
|
],
|
|
"properties": {
|
|
"description": {
|
|
"type": "string",
|
|
"description": "Description of the bitbake-setup configuration file"
|
|
},
|
|
"sources": {
|
|
"$ref": "layers.schema.json#/properties/sources"
|
|
},
|
|
"bitbake-setup": {
|
|
"type": "object",
|
|
"description": "BitBake-setup configurations",
|
|
"required": [
|
|
"configurations"
|
|
],
|
|
"properties": {
|
|
"configurations": {
|
|
"type": "array",
|
|
"minItems": 1,
|
|
"$anchor": "configurations",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"description": "Name of the configuration"
|
|
},
|
|
"description": {
|
|
"type": "string",
|
|
"description": "Human-readable description of the configuration"
|
|
},
|
|
"bb-layers": {
|
|
"type": "array",
|
|
"description": "List of BitBake layer paths to include, relative to the layers download directory",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"bb-layers-file-relative": {
|
|
"type": "array",
|
|
"description": "List of BitBake layers paths to include, relative to the directory with the configuration file",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"oe-template": {
|
|
"type": "string",
|
|
"description": "OE-template configuration"
|
|
},
|
|
"oe-fragments": {
|
|
"$anchor": "oe-fragments",
|
|
"type": "array",
|
|
"description": "List of BitBake configuration fragments to enable",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"oe-fragments-one-of": {
|
|
"type": "object",
|
|
"description": "Mutually exclusive bitbake configuration fragment",
|
|
"patternProperties": {
|
|
".*": {
|
|
"type": "object",
|
|
"required": [
|
|
"description",
|
|
"options"
|
|
],
|
|
"properties": {
|
|
"description": {
|
|
"type": "string",
|
|
"description": "Human-readable description of the fragment category"
|
|
},
|
|
"options": {
|
|
"$ref": "#oe-fragments"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"configurations": {
|
|
"$ref": "#configurations"
|
|
},
|
|
"bb-env-passthrough-additions": {
|
|
"type": "array",
|
|
"description": "List of environment variables to include in BB_ENV_PASSTHROUGH_ADDITIONS",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"version": {
|
|
"description": "The version of this document; currently '1.0'",
|
|
"enum": [
|
|
"1.0"
|
|
]
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|