[OE-core] [RFC][PATCH] insane: configure option checking

Ross Burton ross.burton at intel.com
Tue Oct 8 14:30:04 UTC 2013


Hi,

This is v2 of my unrecognised-configure-options sanity test, that checks for
warnings at the end of configure logs and will emit a warning if there are
unrecognised options.  Useful to detect typos or options that have been
removed/renamed.

V2 differs from V1 in that the whitelist can be extended, and defaults to the
options commonly used in oe-core classes.

As an example of extending it, xorg-proto-common.inc in my branch has this:

+UNKNOWN_CONFIGURE_WHITELIST += "--without-fop --without-xmlto"

I've also done a full build of core-image-sato with this test enabled, this was
the output earlier today: http://pastebin.com/7LCZF55Z.  Between some local
whitelist patches and the patches I just sent, that list has almost halved in
size.

Any thoughts, or does this look good to go?

Ross



More information about the Openembedded-core mailing list