bitbake.conf: fix distro-less failure expanding FILESPATH
authorDenys Dmytriyenko <denys@ti.com>
Thu, 22 Mar 2012 01:33:03 +0000 (21:33 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 22 Mar 2012 16:47:05 +0000 (16:47 +0000)
commit2a7bd87c00b156c0edb5a7b8d8767df45631cee0
tree1940e4b99936c35b78c13d2913b06c4e6e684ff1
parent0f34db07b05656811153cb245a2c7ff55b98dd0f
bitbake.conf: fix distro-less failure expanding FILESPATH

If DISTRO is not set, FILESPATH becomes littered with directories like
files/${DISTRO} etc. It won't bomb until you try to eval it - i.e.
manipulating FILESPATH directly with .= works fine, but calling e.g.
base_set_filespath() throws this:

ERROR: Failure expanding variable FILESPATH, expression was ${@blah} which
triggered exception SyntaxError: EOL while scanning string literal (FILESPATH,
line 1)

(From OE-Core rev: abacd7243a2e4cca216797c4a36ff66ae968ddbd)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/bitbake.conf