diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2012-03-14 17:13:21 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-14 13:12:43 +0000 |
commit | 7893e74311e53882d8f93ecb95a6bd9f5b14651e (patch) | |
tree | 7a1ad047cb376c05709480c3a55e5c55dbe24f6b /meta/files/common-licenses/AAL | |
parent | e1f656492475fb65d1203afe0afeeec7e279a317 (diff) | |
download | openembedded-core-7893e74311e53882d8f93ecb95a6bd9f5b14651e.tar.gz openembedded-core-7893e74311e53882d8f93ecb95a6bd9f5b14651e.tar.bz2 openembedded-core-7893e74311e53882d8f93ecb95a6bd9f5b14651e.tar.xz openembedded-core-7893e74311e53882d8f93ecb95a6bd9f5b14651e.zip |
gcc-cross: aviod creating invalid symlinks
There are several invalid symlinks in gcc-cross-initial,
gcc-cross-intermediate and gcc-cross, these cause the error:(56 errors)
tmp/work/i586-poky-linux/gcc-cross-initial-4.6.3+svnr184847-r23/temp/log.do_populate_sysroot:
log.do_populate_sysroot:grep: /path/to/invalid/symlink: No such file or directory
Avoid creating invalid symlinks would fix this problem.
Use the:
[ ! -e file ] || do_something
But not use:
[ -e file ] && do_something
is because that if the "file" doesn't exist, then the whole statement
would return false, and bitbake treats this an error, so use the "||" to
let it always be true.
[YOCTO #2095]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/files/common-licenses/AAL')
0 files changed, 0 insertions, 0 deletions