Skip to content
Commit dd253227 authored by Peter Kjellerstedt's avatar Peter Kjellerstedt Committed by Richard Purdie
Browse files

license.bbclass: Improve parsing time when INCOMPATIBLE_LICENSES is big



The commit 08cbf174 (licenses: Update INCOMPATIBLE_LICENSE for
'or-later' handling) increased the parsing time considerably if there
are many licenses in INCOMPATIBLE_LICENSE. Reorganize the code to get
almost all the time back.

Signed-off-by: default avatarPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
parent 715a3860
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment