]> code.ossystems Code Review - openembedded-core.git/commit
files/toolchain-shar-template.sh: fix replace target_sdk_dir twice in environment...
authorAníbal Limón <anibal.limon@linux.intel.com>
Mon, 9 Feb 2015 16:03:45 +0000 (10:03 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 17 Apr 2015 21:38:34 +0000 (22:38 +0100)
commit9f2825cf35d04ec99d29e0e4266410a8843dd80d
tree487ab3c95087d7e4619d7e5aaa2f97015f850184
parentde2aa7a56790581406f219339c9022638cd47494
files/toolchain-shar-template.sh: fix replace target_sdk_dir twice in environment setup file

When specify a target sdk dir that contains default install dir as
subdir,

target_sdk_dir=/opt/poky/$version/
custom_target_sdk_dir=/opt/poky/$version/some

The target_sdk_dir variable in environment-setup file is replaced twice
causes to point to wrong PATH.

In order to fix filter environment-setup file in second replacement.

[YOCTO #7032]

(From OE-Core rev: 02ecaa69abe97fe2f01cd609e0e59933c0f9ddbf)

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/files/toolchain-shar-template.sh