]> code.ossystems Code Review - openembedded-core.git/commit
classes/populate_sdk_ext: prepend to PATH rather than appending
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 29 Feb 2016 11:50:53 +0000 (00:50 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 2 Mar 2016 22:39:05 +0000 (22:39 +0000)
commitb7ac987274f7aeaeacc217488cf4fe639de81b76
tree6284bfa37641f3671d1b9b3b453d07e626aa7948
parenteffa6ce777540c5557e5cf904b48cc3369ee3f9f
classes/populate_sdk_ext: prepend to PATH rather than appending

The rest of the environment setup script prepends to PATH, so when we
add the path to run devtool we should be prepending as well. This
also ensures that when you run the environment setup script from
extensible SDK installation A and then in the same shell session run the
environment setup script from installation B, and then run devtool, that
you're running B's devtool and not A's.

Fixes [YOCTO #9046].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/populate_sdk_ext.bbclass