Skip to content
Commit bc6e27ae authored by Gregor Zatko's avatar Gregor Zatko Committed by Steve Sakoman
Browse files

sanity.bbclass: Detect and fail if 'inherit' is used in conf file



'inherit' directive may not be used in conf files as it's supposed
to be used for the inheritance of classes.
Correct form in conf file is INHERIT.

This commit adds:
- a sanity check to find whether the wrong case exists
- fail the build if so
- tell user about the difference in directives

[YOCTO #5426]

Signed-off-by: default avatarGregor Zatko <gzatko@gmail.com>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 07bf9b46)
Signed-off-by: default avatarSteve Sakoman <steve@sakoman.com>
parent be24033a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment