From 2a91ff0ba0d587c516a5a972553280364853faa4 Mon Sep 17 00:00:00 2001 From: Peter Seebach Date: Tue, 1 May 2012 11:20:22 -0500 Subject: 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. Signed-off-by: Peter Seebach --- meta/conf/documentation.conf | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'meta/conf') diff --git a/meta/conf/documentation.conf b/meta/conf/documentation.conf index 3e40a77a40..004a16c6a7 100644 --- a/meta/conf/documentation.conf +++ b/meta/conf/documentation.conf @@ -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." -- cgit v1.2.3