diff options
author | Herve Jourdain <herve.jourdain@neuf.fr> | 2016-05-18 20:33:37 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-20 10:20:22 +0100 |
commit | 7e96806d1282865761fcc047abcb72970279d82d (patch) | |
tree | 6d84734f9dd496f1bf11b6d21f209a66416855f5 /scripts/lib/devtool/runqemu.py | |
parent | f30c486c17060d2f21618612804a692512ad6a57 (diff) | |
download | openembedded-core-7e96806d1282865761fcc047abcb72970279d82d.tar.gz openembedded-core-7e96806d1282865761fcc047abcb72970279d82d.tar.bz2 openembedded-core-7e96806d1282865761fcc047abcb72970279d82d.zip |
mesa: fix mesa_populate_packages() when dri is disabled
When compiling mesa, if dri is disabled in PACKAGECONFIG, or if the list of DRI
drivers is empty, it will cause populate_package to fail, because it can't find
- rightfully - the directory for the DRI drivers. This patch checks that the
directory indeed exists before trying to get a list of the files in it
[ use oe.path.join instead of + - RB ]
Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/lib/devtool/runqemu.py')
0 files changed, 0 insertions, 0 deletions