]> code.ossystems Code Review - openembedded-core.git/commit
utils.bbclass: skip empty paths when handling FILESEXTRAPATHS
authorMartin Jansa <Martin.Jansa@gmail.com>
Fri, 19 Aug 2011 12:16:28 +0000 (14:16 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 24 Aug 2011 01:23:17 +0000 (18:23 -0700)
commit3b5591d423324da076d038ad335af47b616a7903
tree3883340c4db842069d70f034b74930df61968577
parent0934dc7c421ea6fb8f16ce535be72dda9ecb17de
utils.bbclass: skip empty paths when handling FILESEXTRAPATHS

* if there is multiple .bbappend files with FILESEXTRAPATHS_prepend := "/:"
  then the one parsed last is causing trailing ':' and that's causing empty element in
  path = extrapaths.split(:) + path
* it's hard to keep all .bbappends from foreign layers to follow this rule, so it's better
  to be able to handle trailing ':'

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
meta/classes/utils.bbclass