diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2006-03-19 18:34:37 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-03-19 18:34:37 +0000 |
commit | 63e9b71a88c9cebec1bff318c7854d64bc7d41d4 (patch) | |
tree | a7bfa05fe5464af3b0530d32ce87bdf5e3d52042 /conf | |
parent | 0e411760a86e6bf483cc75af5d0962d5770422a4 (diff) |
Add sanity.conf/sanity.bbclass. This checks for common user misconfigurations and gives helpful information about fixing them. The checks can be expanded over time. It can be disabled by following the slightly cryptic instructions in sanity.conf.
Diffstat (limited to 'conf')
-rw-r--r-- | conf/bitbake.conf | 1 | ||||
-rw-r--r-- | conf/sanity.conf | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/conf/bitbake.conf b/conf/bitbake.conf index a2ba5e6382..cd435a9cad 100644 --- a/conf/bitbake.conf +++ b/conf/bitbake.conf @@ -394,3 +394,4 @@ include conf/target/${TARGET_SYS}.conf include conf/machine/${MACHINE}.conf include conf/distro/${DISTRO}.conf include conf/documentation.conf +require conf/sanity.conf diff --git a/conf/sanity.conf b/conf/sanity.conf new file mode 100644 index 0000000000..df2ec3e82a --- /dev/null +++ b/conf/sanity.conf @@ -0,0 +1,8 @@ +# Sanity checks for common user misconfigurations +# +# See sanity.bbclass +# +# Expert users can confirm their sanity with "touch conf/sanity.conf" + +INHERIT += "sanity" + |