On Thu, 2024-12-26 at 22:11 -0800, hongxu via lists.openembedded.org wrote:
> In order to inherit SPDX class conditionally, using variable ${SPDX_CLASS}
> to inherit SPDX class other than original 'INHERIT:remove = "create-spdx"'
> and INHERIT += "create-spdx-2.2"
> 
> Signed-off-by: Hongxu Jia <hongxu....@windriver.com>
> ---
>  meta/classes/create-spdx.bbclass     | 3 ++-
>  meta/lib/oeqa/selftest/cases/spdx.py | 8 ++------
>  2 files changed, 4 insertions(+), 7 deletions(-)

I don't really want to add more variables to control inherits like
this, in most of these scenarios you'd be setting up your own choice of
classes in your distro anyway. We can't have a variable for every
single possible choice.

Cheers,

Richard
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#209557): 
https://lists.openembedded.org/g/openembedded-core/message/209557
Mute This Topic: https://lists.openembedded.org/mt/110301813/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to