mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 00:59:48 +00:00
sanity.bbclass: Implement initial toolchain sanity checks
This introduces a sanity check for the toolchain, which verifies each tuning (including any multilibs), producing meaningful diagnostics for problems, and also provides some higher-level tuning features. The TUNEVALID and TUNECONFLICT/TUNECONFLICTS settings were not implemented. Listed one or two missing features in TUNEVALID, also (in a previous patch) fixed the references to features which didn't exist. This patch also provides a whitelisting mechanism (which is completely unused) to allow vendors providing prebuilt toolchain components to restrict tunings to those based on or compatible with a particular ABI. (From OE-Core rev: 2a91ff0ba0d587c516a5a972553280364853faa4) Signed-off-by: Peter Seebach <peter.seebach@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
87b6197d1d
commit
36784da878
@@ -36,6 +36,12 @@ for hardware floating point instructions."
|
||||
|
||||
TUNEVALID[doc] = "Descriptions of valid tuning features, stored as flags."
|
||||
TUNECONFLICTS[doc] = "List of conflicting features for a given feature."
|
||||
TUNEABI[doc] = "An underlying ABI used by a particular tuning in a given \
|
||||
toolchain layer. This feature allows providers using prebuilt \
|
||||
libraries to check compatibility of a tuning against their selection \
|
||||
of libraries."
|
||||
TUNEABI_WHITELIST[doc] = "A whitelist of permissible TUNEABI values; if unset, all are allowed."
|
||||
TUNEABI_OVERRIDE[doc] = "If set, ignores TUNEABI_WHITELIST."
|
||||
|
||||
ASSUME_PROVIDED[doc] = "List of packages (recipes actually) which are assumed to be implicitly available.\
|
||||
These packages won't be built by bitbake."
|
||||
|
||||
Reference in New Issue
Block a user