From d223ec99ae7f84f49844e9421d831f3690b2b93a Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 18 Aug 2021 11:27:56 +0200 Subject: eng: Document use of BSP family for defaults Update #4468. --- eng/req/items.rst | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'eng/req') diff --git a/eng/req/items.rst b/eng/req/items.rst index e7727aa..51f3c3d 100644 --- a/eng/req/items.rst +++ b/eng/req/items.rst @@ -719,8 +719,11 @@ default default-by-variant The attribute value shall be a list. Each list element shall be a - :ref:`SpecTypeBuildOptionDefaultByVariant`. The list is processed from top - to bottom. If a matching variant is found, then the processing stops. + :ref:`SpecTypeBuildOptionDefaultByVariant`. The list is checked two times + and processed from top to bottom. Firstly, the base BSP name is used to + match with a variant. Secondly, the BSP family name prefixed by ``bsps/`` + is used to match with a variant. If a matching variant is found, then the + processing stops. description The attribute value shall be an optional string. It shall be the @@ -750,6 +753,7 @@ Please have a look at the following example: default-by-variant: - value: 9600 variants: + - bsps/powerpc/motorola_powerpc - m68k/m5484FireEngine - powerpc/hsc_cm01 - value: 19200 -- cgit v1.2.3