]> code.ossystems Code Review - openembedded-core.git/commit
cmake.bbclass: Do not use bitbake variable syntax for shell variables
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Wed, 19 Apr 2017 16:57:09 +0000 (18:57 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 28 Apr 2017 10:26:06 +0000 (11:26 +0100)
commitea6befae799f45cf93771442f242cb023dd809d1
tree8142de757f2e806072032214e733663529d257f5
parent5cbf102662dde6f706a19fa133cfd1e7475eb8c1
cmake.bbclass: Do not use bitbake variable syntax for shell variables

Using bitbake variable syntax (i.e., ${FOO}) for shell variables is
bad practice. First of all it is confusing, but more importantly it
can lead to weird problems if someone actually defines a bitbake
variable with the same name as the shell variable.

Also use lower case for local shell variables.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/cmake.bbclass