]> code.ossystems Code Review - openembedded-core.git/commit
sanity: check the format of SDK_VENDOR
authorRoss Burton <ross.burton@intel.com>
Mon, 14 Oct 2019 11:42:57 +0000 (12:42 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 19 Oct 2019 17:13:38 +0000 (18:13 +0100)
commitb0efd8d4d0dbc30e6505b42f5603f18fa764d732
treed60d296e4f54cce6ca2fda64dffbe94b5ab9253e
parent70b9cdf86b9c5ed14937500619387a890a57ef20
sanity: check the format of SDK_VENDOR

If SDK_VENDOR isn't formatted as -foosdk and is instead for example -foo-sdk
then the triple that are constructed are not in fact triples, which results in
mysterious compile errors.

Check in sanity.bbclass so this failure is detected early.

[ YOCTO #13573 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sanity.bbclass